-
Notifications
You must be signed in to change notification settings - Fork 734
test(appcomposer): fix initMessageHandler flaky test. #5973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
f547690
a3731c4
af2bffb
a12730e
14fba92
fc6cc6c
89abb72
1e88ae5
a0b1704
c21e013
19b7b2c
67e6838
068241a
9d14980
49c8e43
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,6 +19,7 @@ import { mkdirSync, existsSync } from 'fs' // eslint-disable-line no-restricted- | |
| import { randomBytes } from 'crypto' | ||
| import request from '../shared/request' | ||
| import { stub } from 'sinon' | ||
| import { isMinVscode } from '../shared/vscode/env' | ||
|
|
||
| const testTempDirs: string[] = [] | ||
|
|
||
|
|
@@ -634,3 +635,9 @@ export function getFetchStubWithResponse(response: Partial<Response>) { | |
| export function copyEnv(): NodeJS.ProcessEnv { | ||
| return { ...process.env } | ||
| } | ||
|
|
||
| export function disableIfVscodeBelow(testContext: Mocha.Context, version: string) { | ||
| if (isMinVscode(version)) { | ||
|
||
| testContext.skip() | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.