mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-18 23:59:43 +01:00
test that no RPC leaks via NotebookController
This commit is contained in:
@@ -94,4 +94,10 @@ suite('vscode', function () {
|
||||
dispo.push(item);
|
||||
assertNoRpcFromEntry([item, 'NotebookEditorDecorationType']);
|
||||
});
|
||||
|
||||
test('no rpc, createNotebookController(...)', function () {
|
||||
const ctrl = vscode.notebook.createNotebookController('foo', 'bar', '');
|
||||
dispo.push(ctrl);
|
||||
assertNoRpcFromEntry([ctrl, 'NotebookController']);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user