mirror of
https://github.com/coder/code-server.git
synced 2026-05-29 18:13:50 +02:00
refactor: delete wrapper test
This commit is contained in:
@@ -6,7 +6,7 @@ import * as integration from "../../../utils/integration"
|
|||||||
|
|
||||||
// TODO@jsjoeio - move these to integration tests since they rely on Code
|
// TODO@jsjoeio - move these to integration tests since they rely on Code
|
||||||
// to be built
|
// to be built
|
||||||
describe.skip("vscode", () => {
|
describe("vscode", () => {
|
||||||
let codeServer: httpserver.HttpServer | undefined
|
let codeServer: httpserver.HttpServer | undefined
|
||||||
|
|
||||||
const testName = "vscode"
|
const testName = "vscode"
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
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)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
Reference in New Issue
Block a user