Skip to content

Commit 4566419

Browse files
committed
remove fragile test of disposable registration
1 parent d000e55 commit 4566419

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/notebooks/deepnote/sqlCellStatusBarProvider.unit.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -261,18 +261,6 @@ suite('SqlCellStatusBarProvider', () => {
261261
verify(mockedVSCodeNamespaces.commands.registerCommand('deepnote.switchSqlIntegration', anything())).once();
262262
});
263263

264-
test('adds all registrations to disposables', () => {
265-
activateProvider.activate();
266-
267-
// Should have 5 disposables:
268-
// 1. notebook cell status bar provider
269-
// 2. integration storage change listener
270-
// 3. updateSqlVariableName command
271-
// 4. switchSqlIntegration command
272-
// 5. event emitter
273-
assert.strictEqual(activateDisposables.length, 5);
274-
});
275-
276264
test('listens to integration storage changes', () => {
277265
const onDidChangeIntegrations = new EventEmitter<void>();
278266
when(activateIntegrationStorage.onDidChangeIntegrations).thenReturn(onDidChangeIntegrations.event);

0 commit comments

Comments
 (0)