aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-06-28 19:20:41 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-06-28 19:20:41 -0700
commit32d9abcc03bf2c2542574ff9ae1717d933f5d85f (patch)
treebeef44f231a596540c88499da9196d9076e6bd88
parent0cee640199e1102385d639e8e84707d2f3576967 (diff)
downloadbun-32d9abcc03bf2c2542574ff9ae1717d933f5d85f.tar.gz
bun-32d9abcc03bf2c2542574ff9ae1717d933f5d85f.tar.zst
bun-32d9abcc03bf2c2542574ff9ae1717d933f5d85f.zip
Fix bad test
-rw-r--r--test/js/bun/resolve/import-meta.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/js/bun/resolve/import-meta.test.js b/test/js/bun/resolve/import-meta.test.js
index 2d79c531e..e23b44446 100644
--- a/test/js/bun/resolve/import-meta.test.js
+++ b/test/js/bun/resolve/import-meta.test.js
@@ -97,9 +97,9 @@ it("Module._cache", () => {
expect(!!expected).toBe(true);
});
-it("Module._resolveFileName()", () => {
+it("Module._resolveFilename()", () => {
const expected = Bun.resolveSync(import.meta.path, "/");
- const result = Module._resolveFileName(import.meta.path, "/", true);
+ const result = Module._resolveFilename(import.meta.path, "/", true);
expect(result).toBe(expected);
});