aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/package-json-exports/index.debug.js
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-05 04:10:15 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-05 04:10:15 -0700
commit3063c2e64d84c2665b54f002d060c53cbea5d2a6 (patch)
tree4c64a860cb36dba57e55124f9790a43f82cfc768 /integration/snapshots/package-json-exports/index.debug.js
parent38f46169d9e30b75316c9118770ef9ba7669d844 (diff)
downloadbun-3063c2e64d84c2665b54f002d060c53cbea5d2a6.tar.gz
bun-3063c2e64d84c2665b54f002d060c53cbea5d2a6.tar.zst
bun-3063c2e64d84c2665b54f002d060c53cbea5d2a6.zip
[resolver] Add test for `"exports"` field with a pattern `foo/*.js`
Diffstat (limited to 'integration/snapshots/package-json-exports/index.debug.js')
-rw-r--r--integration/snapshots/package-json-exports/index.debug.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/integration/snapshots/package-json-exports/index.debug.js b/integration/snapshots/package-json-exports/index.debug.js
index 1b260c7ea..882f9d489 100644
--- a/integration/snapshots/package-json-exports/index.debug.js
+++ b/integration/snapshots/package-json-exports/index.debug.js
@@ -7,11 +7,14 @@ import * as $d2a171d2 from "http://localhost:8080/package-json-exports/node_modu
var InexactFile = require($d2a171d2);
import * as $522c6d1f from "http://localhost:8080/package-json-exports/node_modules/inexact/browser/foo.js";
var ExactFile = require($522c6d1f);
+import * as $fce83cd7 from "http://localhost:8080/package-json-exports/node_modules/js-only-exports/browser/js-file.js";
+var JSFileExtensionOnly = require($fce83cd7);
export async function test() {
console.assert(InexactRoot.target === "browser");
console.assert(InexactFile.target === "browser");
console.assert(ExactFile.target === "browser");
+ console.assert(JSFileExtensionOnly.isJS === true);
return testDone(import.meta.url);
}