Skip to content

Commit ff16478

Browse files
committed
Fix test
1 parent f6cbbe1 commit ff16478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyodide-e2e/src/tests/pipeline.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ result = {item['label']: round(item['score'], 2) for item in data}
3333
`);
3434
const resultMap = await pyodide.globals.get("result").toJs(); // Python's dict to JS's Map
3535
const resultObj = Object.fromEntries(resultMap);
36-
expect(Object.keys(resultObj)).toEqual(["tower", "lion", "flower"]);
36+
expect(Object.keys(resultObj)).toEqual(["lion", "tower", "flower"]);
3737

3838
const topLabel = Object.keys(resultObj).reduce((a, b) => resultObj[a] > resultObj[b] ? a : b);
3939
expect(topLabel).toEqual("lion");

0 commit comments

Comments
 (0)