fix: make removeNodeProtocol work with shims
#1285
Annotations
3 errors
|
test/shims.test.ts#L66
AssertionError: expected '// ../../../assets/esm_shims.js\nimpo…' to strictly equal '// ../../../assets/esm_shims.js\nimpo…'
- Expected
+ Received
// ../../../assets/esm_shims.js
- import * as path from "path";
+ import path from "path";
import { fileURLToPath } from "url";
var getFilename = () => fileURLToPath(import.meta.url);
var getDirname = () => path.dirname(getFilename());
var __dirname = /* @__PURE__ */ getDirname();
// src/index.ts
var foo = __dirname;
export {
foo
};
❯ test/shims.test.ts:66:50
|
|
test/shims.test.ts#L133
AssertionError: expected '// ../../../assets/esm_shims.js\nimpo…' to strictly equal '// ../../../assets/esm_shims.js\nimpo…'
- Expected
+ Received
// ../../../assets/esm_shims.js
- import * as path from "node:path";
+ import path from "node:path";
import { fileURLToPath } from "node:url";
var getFilename = () => fileURLToPath(import.meta.url);
var getDirname = () => path.dirname(getFilename());
var __dirname = /* @__PURE__ */ getDirname();
// src/index.ts
var foo = __dirname;
export {
foo
};
❯ test/shims.test.ts:133:50
|
|
|
The logs for this run have expired and are no longer available.
Loading