Skip to content

Commit 0261ee9

Browse files
authored
test: update error message assertion (#42)
1 parent 9b0d9db commit 0261ee9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/rspack-basic/index.test.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ test('should throw error when exist syntax errors', async () => {
6060
).toBeTruthy();
6161
expect(logs.find((log) => log.includes('reason:'))).toBeTruthy();
6262
expect(
63-
logs.find((log) =>
64-
log.includes('> 2 | const arr = [1, 2, 3, 4, [5, 6, [7, 8]]];'),
65-
),
63+
logs.find((log) => log.includes('export const printLog = () =>')),
6664
).toBeTruthy();
6765
});

0 commit comments

Comments
 (0)