Fix util unittest
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
All checks were successful
continuous-integration/appveyor/branch AppVeyor build succeeded
This commit is contained in:
parent
f1710601fc
commit
ae4f0f141b
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue