We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d11ec9 commit 17d11ecCopy full SHA for 17d11ec
packages/atlas-service/src/main.spec.ts
@@ -331,7 +331,11 @@ describe('CompassAuthServiceMain', function () {
331
} as any;
332
await CompassAuthService.init(preferences, {} as any);
333
CompassAuthService['config'] = defaultConfig;
334
- expect(getListenerCount(logger)).to.eq(30);
+
335
+ // We expect that the oidc plugin registers a number of listeners
336
+ // upon creation, which should get unregistered when we sign out.
337
+ expect(getListenerCount(logger)).to.be.greaterThan(0);
338
339
// We did all preparations, reset sinon history for easier assertions
340
sandbox.resetHistory();
341
0 commit comments