Skip to content

Commit b5b118a

Browse files
committed
fix vitest
1 parent e9e4bc5 commit b5b118a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/graphiql-toolkit/src/create-fetcher/lib.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,7 @@ export const createWebsocketsFetcherFromUrl = (
7979
};
8080

8181
// TODO: defaults?
82-
wsClient = createClient({
83-
url,
84-
connectionParams,
85-
});
82+
wsClient = createClient({ url, connectionParams });
8683
return createWebsocketsFetcherFromClient(wsClient);
8784
} catch (err) {
8885
if (errorHasCode(err) && err.code === 'MODULE_NOT_FOUND') {

packages/monaco-graphql/test/monaco-editor.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe('monaco-editor', () => {
1515
// expect(lines[1]).toMatch(' building for production...');
1616
// expect(lines[2]).toBe('transforming...');
1717
expect(lines[3]).toMatch(
18-
`✓ ${parseInt(version, 10) > 16 ? 856 : 843} modules transformed.`,
18+
`✓ ${parseInt(version, 10) > 16 ? 857 : 843} modules transformed.`,
1919
);
2020
// expect(lines[4]).toBe('rendering chunks...');
2121
// expect(lines[5]).toBe('computing gzip size...');

0 commit comments

Comments
 (0)