Skip to content

Commit b3a0090

Browse files
committed
lint empty methods in tests
1 parent 889f79b commit b3a0090

File tree

1 file changed

+23
-5
lines changed

1 file changed

+23
-5
lines changed

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

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ suite('DeepnoteActivationService', () => {
1818

1919
manager = new DeepnoteNotebookManager();
2020
mockIntegrationManager = {
21-
activate: () => {}
21+
activate: () => {
22+
return;
23+
}
2224
};
2325
activationService = new DeepnoteActivationService(mockExtensionContext, manager, mockIntegrationManager);
2426
});
@@ -80,8 +82,16 @@ suite('DeepnoteActivationService', () => {
8082

8183
const manager1 = new DeepnoteNotebookManager();
8284
const manager2 = new DeepnoteNotebookManager();
83-
const mockIntegrationManager1: IIntegrationManager = { activate: () => {} };
84-
const mockIntegrationManager2: IIntegrationManager = { activate: () => {} };
85+
const mockIntegrationManager1: IIntegrationManager = {
86+
activate: () => {
87+
return;
88+
}
89+
};
90+
const mockIntegrationManager2: IIntegrationManager = {
91+
activate: () => {
92+
return;
93+
}
94+
};
8595
const service1 = new DeepnoteActivationService(context1, manager1, mockIntegrationManager1);
8696
const service2 = new DeepnoteActivationService(context2, manager2, mockIntegrationManager2);
8797

@@ -108,8 +118,16 @@ suite('DeepnoteActivationService', () => {
108118

109119
const manager1 = new DeepnoteNotebookManager();
110120
const manager2 = new DeepnoteNotebookManager();
111-
const mockIntegrationManager1: IIntegrationManager = { activate: () => {} };
112-
const mockIntegrationManager2: IIntegrationManager = { activate: () => {} };
121+
const mockIntegrationManager1: IIntegrationManager = {
122+
activate: () => {
123+
return;
124+
}
125+
};
126+
const mockIntegrationManager2: IIntegrationManager = {
127+
activate: () => {
128+
return;
129+
}
130+
};
113131
new DeepnoteActivationService(context1, manager1, mockIntegrationManager1);
114132
new DeepnoteActivationService(context2, manager2, mockIntegrationManager2);
115133

0 commit comments

Comments
 (0)