Skip to content

Commit

Permalink
clean up after reading the log file
Browse files Browse the repository at this point in the history
  • Loading branch information
SerayaEryn committed Sep 30, 2018
1 parent 8975607 commit aaa587d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/base.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ test('should wait for close event of stream on close', (t) => {
fs.readFile(getFileName(), (err, buffer) => {
t.error(err)
t.strictEquals(buffer.toString(), '{"level":"info","message":"debug"}\n')
cleanUp()
})
cleanUp()
})
const logger = winston.createLogger({
transports: [transport]
Expand Down

0 comments on commit aaa587d

Please sign in to comment.