@theia/api-tests 1.27.0-next.52 → 1.27.0-next.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/api-tests",
|
|
3
|
-
"version": "1.27.0-next.
|
|
3
|
+
"version": "1.27.0-next.56+9a0ae2ed858",
|
|
4
4
|
"description": "Theia API tests",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.27.0-next.
|
|
6
|
+
"@theia/core": "1.27.0-next.56+9a0ae2ed858"
|
|
7
7
|
},
|
|
8
8
|
"license": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0",
|
|
9
9
|
"repository": {
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"publishConfig": {
|
|
21
21
|
"access": "public"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "9a0ae2ed858c2cac36cb05a9307268f11d807180"
|
|
24
24
|
}
|
package/src/typescript.spec.js
CHANGED
|
@@ -62,7 +62,7 @@ describe('TypeScript', function () {
|
|
|
62
62
|
const rootUri = workspaceService.tryGetRoots()[0].resource;
|
|
63
63
|
const demoFileUri = rootUri.resolveToAbsolute('../api-tests/test-ts-workspace/demo-file.ts');
|
|
64
64
|
const definitionFileUri = rootUri.resolveToAbsolute('../api-tests/test-ts-workspace/demo-definitions-file.ts');
|
|
65
|
-
let originalAutoSaveValue = preferences.
|
|
65
|
+
let originalAutoSaveValue = preferences.inspect('files.autoSave').globalValue;
|
|
66
66
|
|
|
67
67
|
before(async function () {
|
|
68
68
|
await pluginService.didStart;
|
|
@@ -71,7 +71,7 @@ describe('TypeScript', function () {
|
|
|
71
71
|
throw new Error(pluginId + ' should be started');
|
|
72
72
|
}
|
|
73
73
|
await pluginService.activatePlugin(pluginId);
|
|
74
|
-
}).concat(preferences.set('files.autoSave', 'off', PreferenceScope.
|
|
74
|
+
}).concat(preferences.set('files.autoSave', 'off', PreferenceScope.User)));
|
|
75
75
|
});
|
|
76
76
|
|
|
77
77
|
beforeEach(async function () {
|
|
@@ -85,7 +85,7 @@ describe('TypeScript', function () {
|
|
|
85
85
|
});
|
|
86
86
|
|
|
87
87
|
after(async () => {
|
|
88
|
-
await preferences.set('files.autoSave', originalAutoSaveValue, PreferenceScope.
|
|
88
|
+
await preferences.set('files.autoSave', originalAutoSaveValue, PreferenceScope.User);
|
|
89
89
|
})
|
|
90
90
|
|
|
91
91
|
/**
|
|
@@ -64,10 +64,9 @@ describe('Undo, Redo and Select All', function () {
|
|
|
64
64
|
resolve(undefined);
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
|
|
67
|
+
const originalValue = preferenceService.get('files.autoSave', undefined, rootUri.toString());
|
|
68
68
|
before(async () => {
|
|
69
|
-
|
|
70
|
-
await preferenceService.set('files.autoSave', 'off', PreferenceScope.User);
|
|
69
|
+
await preferenceService.set('files.autoSave', 'off', undefined, rootUri.toString());
|
|
71
70
|
shell.leftPanelHandler.collapse();
|
|
72
71
|
});
|
|
73
72
|
|
|
@@ -85,7 +84,7 @@ describe('Undo, Redo and Select All', function () {
|
|
|
85
84
|
});
|
|
86
85
|
|
|
87
86
|
after(async () => {
|
|
88
|
-
await preferenceService.set('files.autoSave', originalValue,
|
|
87
|
+
await preferenceService.set('files.autoSave', originalValue, undefined, rootUri.toString());
|
|
89
88
|
shell.leftPanelHandler.collapse();
|
|
90
89
|
});
|
|
91
90
|
|