Skip to content

Commit

Permalink
test: fixed test not using the path variable
Browse files Browse the repository at this point in the history
  • Loading branch information
CptSchnitz committed Dec 3, 2023
1 parent 532672f commit e891d68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('jsLogger', function () {

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

const waitForFileWritePromise = waitForFileWrite(path);

Expand Down

0 comments on commit e891d68

Please sign in to comment.