mirror of
https://github.com/denoland/deno.git
synced 2025-08-17 17:20:21 +00:00
Migrate internal bundles to System (#4233)
This commit is contained in:
parent
70fe1f9fd3
commit
30682cf74f
9 changed files with 142 additions and 216 deletions
|
@ -109,14 +109,14 @@ test(async function bundleApiSources() {
|
|||
"/bar.ts": `export const bar = "bar";\n`
|
||||
});
|
||||
assert(diagnostics == null);
|
||||
assert(actual.includes(`__inst_s("foo")`));
|
||||
assert(actual.includes(`__instantiate("foo")`));
|
||||
assert(actual.includes(`__exp["bar"]`));
|
||||
});
|
||||
|
||||
test(async function bundleApiNoSources() {
|
||||
const [diagnostics, actual] = await bundle("./cli/tests/subdir/mod1.ts");
|
||||
assert(diagnostics == null);
|
||||
assert(actual.includes(`__inst_s("mod1")`));
|
||||
assert(actual.includes(`__instantiate("mod1")`));
|
||||
assert(actual.includes(`__exp["printHello3"]`));
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue