Skip to content

Commit fc54c44

Browse files
committed
Revert "refactor: delete wrapper test"
This reverts commit 3999279.
1 parent 3999279 commit fc54c44

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

test/unit/node/routes/vscode.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import * as integration from "../../../utils/integration"
66

77
// TODO@jsjoeio - move these to integration tests since they rely on Code
88
// to be built
9-
describe("vscode", () => {
9+
describe.skip("vscode", () => {
1010
let codeServer: httpserver.HttpServer | undefined
1111

1212
const testName = "vscode"

test/unit/node/wrapper.test.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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+
})

0 commit comments

Comments
 (0)