We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 778bd73 commit 58407ddCopy full SHA for 58407dd
test/resolve.test.ts
@@ -48,6 +48,12 @@ describe("resolveSync", () => {
48
});
49
expect(fileURLToPath(resolved2)).match(/fixture\/test.txt$/);
50
51
+
52
+ it("resolves node built-ints", () => {
53
+ expect(resolveSync("node:fs")).toBe("node:fs");
54
+ expect(resolveSync("fs")).toBe("node:fs");
55
+ expect(resolveSync("node:foo")).toBe("node:foo");
56
+ });
57
58
59
describe("resolvePathSync", () => {
0 commit comments