Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Feb 25, 2020
1 parent f465cbd commit 9e2454a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/js/compiler_api_test.ts
Expand Up @@ -94,14 +94,14 @@ test(async function bundleApiSources() {
"/bar.ts": `export const bar = "bar";\n`
});
assert(diagnostics == null);
assert(actual.includes(`__inst("foo")`));
assert(actual.includes(`__inst_s("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("mod1")`));
assert(actual.includes(`__inst_s("mod1")`));
assert(actual.includes(`__exp["printHello3"]`));
});

Expand Down

0 comments on commit 9e2454a

Please sign in to comment.