Skip to content

Commit

Permalink
Fix test data for wasm-compatibility
Browse files Browse the repository at this point in the history
- Playwright expect `json` filed in mock data
  • Loading branch information
ilgonmic committed Nov 4, 2024
1 parent 986f48b commit 77a6dea
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/wasm-compatibility.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ const JS_1_9 = Object.freeze({
jsCode: makeJSPrintCode('Hello, world!'),
errors: { 'File.kt': [] },
exception: null,
text: '<outStream>Hello, world!\n</outStream>',
text: '',
});

const OUTPUTS = Object.freeze({
'js-ir': JS_1_9,
wasm: WASM_1_9,
'js-ir': {
json: JS_1_9,
},
wasm: {
json: WASM_1_9,
},
});

test.describe('WASM platform with `moduleId` in output', () => {
Expand Down

0 comments on commit 77a6dea

Please sign in to comment.