test: relax expectation to work for webkit (#15397)
This commit is contained in:
parent
6181b0dcaf
commit
00d5d26f3b
|
|
@ -144,5 +144,5 @@ it('should emit error from unhandled rejects', async ({ page, browserName }) =>
|
||||||
</script>
|
</script>
|
||||||
`),
|
`),
|
||||||
]);
|
]);
|
||||||
expect(error.message).toBe('sad :(');
|
expect(error.message).toContain('sad :(');
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue