mirror of https://git.tuxpa.in/a/code-server.git
Mark code-server as a virtual module
This commit is contained in:
parent
3f837d3036
commit
de9491d5a6
|
@ -9,7 +9,7 @@ import * as httpserver from "./httpserver"
|
|||
const fsp = fs.promises
|
||||
|
||||
// Jest overrides `require` so our usual override doesn't work.
|
||||
jest.mock("code-server", () => codeServer)
|
||||
jest.mock("code-server", () => codeServer, { virtual: true })
|
||||
|
||||
/**
|
||||
* Use $LOG_LEVEL=debug to see debug logs.
|
||||
|
|
Loading…
Reference in New Issue