mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
test: remove unnecessary variable
This commit is contained in:
parent
a79a1bf4e2
commit
cf0a23838e
|
@ -1389,13 +1389,11 @@ describe('LdapService', () => {
|
|||
|
||||
describe('stopSync()', () => {
|
||||
it('should clear the scheduled timer', async () => {
|
||||
const givenConfig = {
|
||||
const ldapService = createDefaultLdapService({
|
||||
...ldapConfig,
|
||||
synchronizationEnabled: true,
|
||||
synchronizationInterval: 10,
|
||||
};
|
||||
|
||||
const ldapService = createDefaultLdapService(givenConfig);
|
||||
});
|
||||
|
||||
const clearIntervalSpy = jest.spyOn(global, 'clearInterval');
|
||||
|
||||
|
|
Loading…
Reference in a new issue