We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c139b2a commit 863fc43Copy full SHA for 863fc43
e2e/cases/plugin-react/jsx-runtime-preserve/index.test.ts
@@ -2,8 +2,6 @@ import { expect, rspackTest } from '@e2e/helper';
2
3
rspackTest('should preserve JSX after build', async ({ build }) => {
4
const result = await build();
5
- const content = result.getIndexBundle();
6
- expect(
7
- (await content).includes('<div id="test">Hello Rsbuild!</div>'),
8
- ).toBeTruthy();
+ const content = await result.getIndexBundle();
+ expect(content.includes('<div id="test">Hello Rsbuild!</div>')).toBeTruthy();
9
});
0 commit comments