mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Enable ipynb serializer tests in web integration tests
and reenable NotebookSerializer test in non-web
This commit is contained in:
parent
f498b374c0
commit
bb79477f2e
|
@ -7,8 +7,8 @@ import * as assert from 'assert';
|
|||
import 'mocha';
|
||||
import * as vscode from 'vscode';
|
||||
|
||||
suite('ipynb NotebookSerializer', function () {
|
||||
test.skip('Can open an ipynb notebook', async () => {
|
||||
(vscode.env.uiKind === vscode.UIKind.Web ? suite.skip : suite)('ipynb NotebookSerializer', function () {
|
||||
test('Can open an ipynb notebook', async () => {
|
||||
assert.ok(vscode.workspace.workspaceFolders);
|
||||
const workspace = vscode.workspace.workspaceFolders[0];
|
||||
const uri = vscode.Uri.joinPath(workspace.uri, 'test.ipynb');
|
||||
|
|
|
@ -136,7 +136,7 @@ const apiTestContentProvider: vscode.NotebookContentProvider = {
|
|||
}
|
||||
};
|
||||
|
||||
(vscode.env.uiKind === vscode.UIKind.Web ? suite.skip : suite)('Notebook API tests', function () {
|
||||
suite('Notebook API tests', function () {
|
||||
|
||||
const testDisposables: vscode.Disposable[] = [];
|
||||
const suiteDisposables: vscode.Disposable[] = [];
|
||||
|
|
|
@ -24,6 +24,7 @@ else
|
|||
compile-extension:typescript-language-features \
|
||||
compile-extension:emmet \
|
||||
compile-extension:git \
|
||||
compile-extension:ipynb \
|
||||
compile-extension-media
|
||||
fi
|
||||
|
||||
|
@ -63,3 +64,9 @@ echo
|
|||
echo "### Git tests"
|
||||
echo
|
||||
node test/integration/browser/out/index.js --workspacePath $(mktemp -d 2>/dev/null) --enable-proposed-api=vscode.git --extensionDevelopmentPath=$ROOT/extensions/git --extensionTestsPath=$ROOT/extensions/git/out/test "$@"
|
||||
|
||||
echo
|
||||
echo "### Ipynb tests"
|
||||
echo
|
||||
node test/integration/browser/out/index.js --workspacePath $(mktemp -d 2>/dev/null) --enable-proposed-api=vscode.ipynb --extensionDevelopmentPath=$ROOT/extensions/ipynb --extensionTestsPath=$ROOT/extensions/ipynb/out/test "$@"
|
||||
|
||||
|
|
Loading…
Reference in a new issue