Skip to content

Commit 77a6dea

Browse files
committed
Fix test data for wasm-compatibility
- Playwright expect `json` filed in mock data
1 parent 986f48b commit 77a6dea

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tests/wasm-compatibility.e2e.ts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@ const JS_1_9 = Object.freeze({
1616
jsCode: makeJSPrintCode('Hello, world!'),
1717
errors: { 'File.kt': [] },
1818
exception: null,
19-
text: '<outStream>Hello, world!\n</outStream>',
19+
text: '',
2020
});
2121

2222
const OUTPUTS = Object.freeze({
23-
'js-ir': JS_1_9,
24-
wasm: WASM_1_9,
23+
'js-ir': {
24+
json: JS_1_9,
25+
},
26+
wasm: {
27+
json: WASM_1_9,
28+
},
2529
});
2630

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

0 commit comments

Comments
 (0)