Skip to content

Commit 6aaeb21

Browse files
fix(tests): remove unused vars caught by lint (distributedLock)
1 parent 218c329 commit 6aaeb21

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

lib/services/tests/distributedLock.unit.tests.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import { jest, describe, test, beforeEach, afterEach, expect } from '@jest/globa
1111
*/
1212
describe('distributedLock — acquireLock:', () => {
1313
let acquireLock;
14-
let releaseLock;
1514
let mockFindOneAndUpdate;
1615
let mockDeleteOne;
1716

@@ -37,7 +36,7 @@ describe('distributedLock — acquireLock:', () => {
3736
},
3837
}));
3938

40-
({ acquireLock, releaseLock } = await import('../../distributedLock.js'));
39+
({ acquireLock } = await import('../../distributedLock.js'));
4140
});
4241

4342
afterEach(() => {

modules/billing/tests/billing.cron-lock.integration.tests.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* Module dependencies.
33
*/
4-
import mongoose from 'mongoose';
54
import { describe, beforeAll, beforeEach, afterAll, test, expect } from '@jest/globals';
65

76
import mongooseService from '../../../lib/services/mongoose.js';

0 commit comments

Comments
 (0)