mirror of
https://git.tuxpa.in/a/code-server.git
synced 2024-12-28 13:15:25 +00:00
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
Block a user