Skip to content

Commit 6c955f9

Browse files
committed
test(minify): read the delegated yield as the inlined call writes it
1 parent c9565bb commit 6c955f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/configCases/optimization/minify-collapse-suspend/test.config.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
);
1212
expect(code).toContain("return await f(1)");
1313
expect(code).toContain("yield f(3)");
14-
expect(code).toContain("yield*f(4)");
14+
expect(code).toContain("yield*record([4])");
1515
expect(code).toContain(".map(x=>x+1)");
1616
expect(code).toMatch(/let \w+=f\(5\);yield/);
1717
expect(code).toContain("registry.add([x=>x+1])");

0 commit comments

Comments
 (0)