Skip to content

Commit 863fc43

Browse files
committed
fix
1 parent c139b2a commit 863fc43

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

e2e/cases/plugin-react/jsx-runtime-preserve/index.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import { expect, rspackTest } from '@e2e/helper';
22

33
rspackTest('should preserve JSX after build', async ({ build }) => {
44
const result = await build();
5-
const content = result.getIndexBundle();
6-
expect(
7-
(await content).includes('<div id="test">Hello Rsbuild!</div>'),
8-
).toBeTruthy();
5+
const content = await result.getIndexBundle();
6+
expect(content.includes('<div id="test">Hello Rsbuild!</div>')).toBeTruthy();
97
});

0 commit comments

Comments
 (0)