aboutsummaryrefslogtreecommitdiff
path: root/test/bundler/bundler_plugin.test.ts
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-06-07 14:38:04 -0700
committerGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-06-07 14:38:04 -0700
commit4f2095d1c64467f190ac4f35209ff663bf34f39a (patch)
tree54869b438cb358dbd418eaa706fe74502f77fe92 /test/bundler/bundler_plugin.test.ts
parentcfd68a4e9b819cf5a4f5b7541f965f17bfdeaa21 (diff)
downloadbun-plugin/resolvedir.tar.gz
bun-plugin/resolvedir.tar.zst
bun-plugin/resolvedir.zip
Resolve outbaseplugin/resolvedir
Diffstat (limited to 'test/bundler/bundler_plugin.test.ts')
-rw-r--r--test/bundler/bundler_plugin.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bundler/bundler_plugin.test.ts b/test/bundler/bundler_plugin.test.ts
index d2afc3d3f..37e803876 100644
--- a/test/bundler/bundler_plugin.test.ts
+++ b/test/bundler/bundler_plugin.test.ts
@@ -843,7 +843,7 @@ describe("bundler", () => {
build.onResolve({ "filter": /.magic$/ }, args => {
console.log({ root, resolveDir: args.resolveDir });
expect(args.resolveDir).toBeDefined();
- expect(args.resolveDir!.replace("/private", "")).toEqual(root);
+ expect(args.resolveDir).toEqual(root);
return {
path: "magic",
"namespace": "magic",