Skip to content

Commit bb95b58

Browse files
authored
Run tests against insiders (#9872)
* Run tests against insiders * Disable noisy logging * Restore changes
1 parent 7ff3ed6 commit bb95b58

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/datascience-ui/interactive-common/redux/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ function createMiddleWare(testMode: boolean): Redux.Middleware<{}, IStore>[] {
202202
}
203203
});
204204
const loggerMiddleware = process.env.VSC_PYTHON_FORCE_LOGGING !== undefined || (process.env.NODE_ENV !== 'production' && !testMode) ? logger : undefined;
205-
205+
// tslint:disable-next-line: no-console
206206
const results: Redux.Middleware<{}, IStore>[] = [];
207207
results.push(queueableActions);
208208
results.push(updateContext);

src/test/multiRootTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ function start() {
1313
runTests({
1414
extensionDevelopmentPath: EXTENSION_ROOT_DIR_FOR_TESTS,
1515
extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'),
16-
launchArgs: [workspacePath],
17-
version: 'stable'
16+
launchArgs: [workspacePath, '--enable-proposed-api', 'ms-python.python'],
17+
version: 'insiders'
1818
}).catch(ex => {
1919
console.error('End Multiroot tests (with errors)', ex);
2020
process.exit(1);

src/test/standardTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ function start() {
1515
runTests({
1616
extensionDevelopmentPath: extensionDevelopmentPath,
1717
extensionTestsPath: path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'out', 'test', 'index'),
18-
launchArgs: [workspacePath],
19-
version: 'stable'
18+
launchArgs: [workspacePath, '--enable-proposed-api', 'ms-python.python'],
19+
version: 'insiders'
2020
}).catch(ex => {
2121
console.error('End Standard tests (with errors)', ex);
2222
process.exit(1);

0 commit comments

Comments
 (0)