Archived
1
0

feat: add registerRequireOnSelf on function

This commit is contained in:
Joe Previte
2021-07-09 15:42:16 -07:00
parent 670f0a152f
commit 911cb034f5
3 changed files with 371 additions and 105 deletions

View File

@ -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",