未验证 提交 3999279b 编写于 作者: J Joe Previte

refactor: delete wrapper test

上级 4deb1567
......@@ -6,7 +6,7 @@ import * as integration from "../../../utils/integration"
// TODO@jsjoeio - move these to integration tests since they rely on Code
// to be built
describe.skip("vscode", () => {
describe("vscode", () => {
let codeServer: httpserver.HttpServer | undefined
const testName = "vscode"
......
import { ChildProcess, ParentProcess, isChild } from "../../../src/node/wrapper"
describe("wrapper", () => {
describe("isChild", () => {
it("should return false for parent process", () => {
const p = new ParentProcess("1")
expect(isChild(p)).toBe(false)
})
})
it("should return false for parent process", () => {
const childProc = new ChildProcess(1)
expect(isChild(childProc)).toBe(true)
})
})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册