Skip to content

Commit

Permalink
Yeah... don't look at this
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperpeulen committed Aug 14, 2024
1 parent f7ff019 commit 416cd00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: yarn task --task compile --start-from=auto

- name: Install Playwright Dependencies
run: yarn exec playwright install chromium --with-deps
run: cd code && yarn exec playwright install chromium --with-deps

- name: test
run: yarn test
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe('file-search-channel', () => {
const searchResultChannelListener = vi.fn();

describe('initFileSearchChannel', async () => {
it('should emit search result event with the search result', { timeout: 5000 }, async () => {
it('should emit search result event with the search result', { timeout: 10000 }, async () => {
const mockOptions = {};
const data = { searchQuery: 'es-module' };

Expand All @@ -52,7 +52,7 @@ describe('file-search-channel', () => {
} satisfies RequestData<FileComponentSearchRequestPayload>);

await vi.waitFor(() => expect(searchResultChannelListener).toHaveBeenCalled(), {
timeout: 5000,
timeout: 8000,
});

expect(searchResultChannelListener).toHaveBeenCalledWith({
Expand Down Expand Up @@ -98,7 +98,7 @@ describe('file-search-channel', () => {

it(
'should emit search result event with an empty search result',
{ timeout: 5000 },
{ timeout: 10000 },
async () => {
const mockOptions = {};
const data = { searchQuery: 'no-file-for-search-query' };
Expand All @@ -116,7 +116,7 @@ describe('file-search-channel', () => {
expect(searchResultChannelListener).toHaveBeenCalled();
},
{
timeout: 5000,
timeout: 8000,
}
);

Expand Down

0 comments on commit 416cd00

Please sign in to comment.