Fix util unittest
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded

This commit is contained in:
Jonatan Nilsson 2022-02-04 09:45:03 +00:00
parent f1710601fc
commit ae4f0f141b

View file

@ -22,8 +22,8 @@ t.describe('#getPathFromRoot()', function() {
assert.ok(path.endsWith('/core/http.mjs'))
}
let stat = await fs.stat(util.getPathFromRoot('../manage/.gitkeep'))
assert.strictEqual(stat.size, 0)
let stat = await fs.stat(util.getPathFromRoot('../core/core.mjs'))
assert.ok(stat.size > 0)
})
})