Archived
1
0

Mark code-server as a virtual module

This commit is contained in:
Asher 2021-02-10 13:13:23 -06:00
parent 3f837d3036
commit de9491d5a6
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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.