Skip to content

Commit 86a82d4

Browse files
authored
Skip Nb Sticky Scroll testing on web platform. (microsoft#191716)
* test change * skip notebook sticky scroll testing on web
1 parent 085c0a4 commit 86a82d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/notebook/test/browser/notebookStickyScroll.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import * as assert from 'assert';
7+
import { isWeb } from 'vs/base/common/platform';
78
import { Event } from 'vs/base/common/event';
89
import { DisposableStore } from 'vs/base/common/lifecycle';
910
import { mock } from 'vs/base/test/common/mock';
@@ -19,7 +20,7 @@ import { createNotebookCellList, setupInstantiationService, withTestNotebook } f
1920
import { OutlineTarget } from 'vs/workbench/services/outline/browser/outline';
2021

2122

22-
suite('NotebookEditorStickyScroll', () => {
23+
(isWeb ? suite.skip : suite)('NotebookEditorStickyScroll', () => {
2324

2425
let disposables: DisposableStore;
2526
let instantiationService: TestInstantiationService;
@@ -92,7 +93,6 @@ suite('NotebookEditorStickyScroll', () => {
9293

9394
const notebookOutlineEntries = getOutline(editor).entries;
9495
const resultingMap = nbStickyTestHelper(domNode, editor, cellList, notebookOutlineEntries);
95-
9696
await assertSnapshot(resultingMap);
9797
});
9898
});

0 commit comments

Comments
 (0)