diff options
Diffstat (limited to 'integration/snapshots/package-json-exports/index.debug.js')
-rw-r--r-- | integration/snapshots/package-json-exports/index.debug.js | 3 |
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); } |