Skip to content

Commit

Permalink
Try pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnw committed Feb 1, 2024
1 parent 45561f4 commit adf2f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js-api-spec/node-package-importer.node.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ describe('Node Package Importer', () => {
'node_modules/bar-abs/index.scss': 'a {b: c}',
'node_modules/bar-abs/package.json': JSON.stringify({}),
});
const entryPoint = dir.url().toString();
const entryPoint = dir.url().pathname;
console.log(`pkg:bar-abs entrypoint- ${entryPoint}`);
return dir.chdir(
() => {
Expand Down

0 comments on commit adf2f4a

Please sign in to comment.