test: relax expectation to work for webkit (#15397)

This commit is contained in:
Yury Semikhatsky 2022-07-05 22:15:40 -07:00 committed by GitHub
parent 6181b0dcaf
commit 00d5d26f3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,5 +144,5 @@ it('should emit error from unhandled rejects', async ({ page, browserName }) =>
</script>
`),
]);
expect(error.message).toBe('sad :(');
expect(error.message).toContain('sad :(');
});