Parca: Fix flaky test (#81968)

Fix flaky test
This commit is contained in:
Joey 2024-02-07 10:21:53 +00:00 committed by GitHub
parent c4cee75551
commit ff21f941df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ describe('QueryEditor', () => {
it('should render without error', async () => {
setup();
expect(screen.findByText('process_cpu:cpu')).toBeDefined();
expect(await screen.findByText(/process_cpu - cpu/)).toBeDefined();
});
it('should render options', async () => {