Skip to content

Commit

Permalink
fixup polyfill test
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Feb 19, 2024
1 parent 3ed5f7d commit a927f82
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ suite('Polyfill tests', () => {
assert.equal(Boolean(window.dynamic && window.dynamicUrlMap), false);
});

test('should support wasm imports', async function () {
const supportsTla = await supportsTlaPromise;
if (supportsTla) return;
const { add } = await importShim('./fixtures/wasm-import.js');
assert.equal(typeof add, 'function');
});
test('should support wasm imports', async function () {
const supportsTla = await supportsTlaPromise;
if (!supportsTla) return;
const { add } = await importShim('./fixtures/wasm-import.js');
assert.equal(typeof add, 'function');
});

test('import maps passthrough polyfill mode', async function () {
await importShim('test');
Expand Down

0 comments on commit a927f82

Please sign in to comment.