mirror of
https://github.com/coder/code-server.git
synced 2026-04-13 11:38:50 -05:00
feat: add registerRequireOnSelf on function
This commit is contained in:
@@ -468,7 +468,7 @@ describe("pathToFsPath", () => {
|
||||
expect(util.pathToFsPath("/C:/far/bo", true)).toBe("C:/far/bo")
|
||||
})
|
||||
it("should replace / with \\ on Windows", () => {
|
||||
let ORIGINAL_PLATFORM = process.platform
|
||||
const ORIGINAL_PLATFORM = process.platform
|
||||
|
||||
Object.defineProperty(process, "platform", {
|
||||
value: "win32",
|
||||
|
||||
Reference in New Issue
Block a user