test: unflake basic timeout test (#22745)

This commit is contained in:
Pavel Feldman 2023-05-02 09:14:57 -07:00 committed by GitHub
parent 57db2a0734
commit 5ad75f92f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ test('should timeout', async ({ runInlineTest }) => {
expect(exitCode).toBe(1);
expect(passed).toBe(0);
expect(failed).toBe(1);
expect(output).toContain('Test timeout of 100ms exceeded.');
expect(output).toContain('Test timeout of 100ms exceeded');
});
test('should succeed', async ({ runInlineTest }) => {