diff options
Diffstat (limited to 'integration/snapshots/package-json-exports/index.hmr.debug.js')
-rw-r--r-- | integration/snapshots/package-json-exports/index.hmr.debug.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/integration/snapshots/package-json-exports/index.hmr.debug.js b/integration/snapshots/package-json-exports/index.hmr.debug.js index 59be5b753..26be6ac7b 100644 --- a/integration/snapshots/package-json-exports/index.hmr.debug.js +++ b/integration/snapshots/package-json-exports/index.hmr.debug.js @@ -13,6 +13,8 @@ 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); Bun.activate(true); var hmr = new HMR(1953708113, "package-json-exports/index.js"), exports = hmr.exports; @@ -21,6 +23,7 @@ var hmr = new HMR(1953708113, "package-json-exports/index.js"), exports = hmr.ex 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); } hmr.exportAll({ |