Skip to content

Commit e891d68

Browse files
committed
test: fixed test not using the path variable
1 parent 532672f commit e891d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/index.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ describe('jsLogger', function () {
2525

2626
it('should support other destinations', async function () {
2727
const path = 'avi.log';
28-
const logger = jsLogger({}, { file: { enabled: true, path: 'avi.log' }, console: { enabled: false } });
28+
const logger = jsLogger({}, { file: { enabled: true, path }, console: { enabled: false } });
2929

3030
const waitForFileWritePromise = waitForFileWrite(path);
3131

0 commit comments

Comments
 (0)