Skip to content

Commit

Permalink
another test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Apr 24, 2024
1 parent 9dc0b90 commit c267032
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,15 +508,15 @@ describe('getDir', function () {
// console.log(files);
assert.equal(err, null)
assert.equal(files.length, 3)
assert.equal(files[0], `contents1${os.EOL}`)
assert.equal(files[2], `contents3${os.EOL}`)
assert.equal(files[0].data, `contents1${os.EOL}`)
assert.equal(files[2].data, `contents3${os.EOL}`)
fs.writeFile(tmpFile, 'contents4\n', (err2) => {
assert.equal(err2, null)
// console.log('file touched, waiting for callback');
})
}
if (callCount === 2) {
assert.equal(files[3], 'contents4\n')
assert.equal(files[3].data, 'contents4\n')
fs.unlink(tmpFile, () => {})
done()
}
Expand Down

0 comments on commit c267032

Please sign in to comment.