File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import * as integration from "../../../utils/integration"
6
6
7
7
// TODO@jsjoeio - move these to integration tests since they rely on Code
8
8
// to be built
9
- describe ( "vscode" , ( ) => {
9
+ describe . skip ( "vscode" , ( ) => {
10
10
let codeServer : httpserver . HttpServer | undefined
11
11
12
12
const testName = "vscode"
Original file line number Diff line number Diff line change
1
+ import { ChildProcess , ParentProcess , isChild } from "../../../src/node/wrapper"
2
+
3
+ describe ( "wrapper" , ( ) => {
4
+ describe ( "isChild" , ( ) => {
5
+ it ( "should return false for parent process" , ( ) => {
6
+ const p = new ParentProcess ( "1" )
7
+ expect ( isChild ( p ) ) . toBe ( false )
8
+ } )
9
+ } )
10
+ it ( "should return false for parent process" , ( ) => {
11
+ const childProc = new ChildProcess ( 1 )
12
+ expect ( isChild ( childProc ) ) . toBe ( true )
13
+ } )
14
+ } )
You can’t perform that action at this time.
0 commit comments