Skip to content

Commit

Permalink
Add URL-ish test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbranch committed Sep 24, 2024
1 parent 9c731e9 commit fece22a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/node/rewriteRelativeImportExtension.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ testHelper("__rewriteRelativeImportExtension", __rewriteRelativeImportExtension
assert.equal(__rewriteRelativeImportExtension("./foo.json"), "./foo.json");
assert.equal(__rewriteRelativeImportExtension("./foo.css"), "./foo.css");
assert.equal(__rewriteRelativeImportExtension("./foo"), "./foo");
assert.equal(__rewriteRelativeImportExtension("./foo.d.php?q=1.ts"), "./foo.d.php?q=1.ts");
});

test("does not rewrite non-relative imports", () => {
Expand Down

0 comments on commit fece22a

Please sign in to comment.