Skip to content

Commit 1e058cd

Browse files
committed
Reformat all files
1 parent 0ab713e commit 1e058cd

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed
Binary file not shown.

packages/rtk-query-codegen-openapi/test/generateEndpoints.test.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -273,14 +273,13 @@ describe('import paths', () => {
273273
hooks: true,
274274
tag: true,
275275
});
276-
expect(await fs.promises.readFile('./test/tmp/out.ts', 'utf8')).toContain("import { api } from '../../fixtures/emptyApi'");
276+
expect(await fs.promises.readFile('./test/tmp/out.ts', 'utf8')).toContain(
277+
"import { api } from '../../fixtures/emptyApi'"
278+
);
277279
});
278280

279281
test('should create paths relative to `outFile` when `apiFile` is relative (same folder)', async () => {
280-
await fs.promises.writeFile(
281-
'./test/tmp/emptyApi.ts',
282-
await fs.promises.readFile('./test/fixtures/emptyApi.ts')
283-
);
282+
await fs.promises.writeFile('./test/tmp/emptyApi.ts', await fs.promises.readFile('./test/fixtures/emptyApi.ts'));
284283

285284
await generateEndpoints({
286285
unionUndefined: true,

packages/rtk-query-codegen-openapi/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"types": ["vitest/globals", "vitest/importMeta"],
1414
"esModuleInterop": true,
1515
"skipLibCheck": true,
16-
"forceConsistentCasingInFileNames": true
16+
"forceConsistentCasingInFileNames": true,
1717
},
18-
"exclude": ["test", "lib", "vitest.config.mts"]
18+
"exclude": ["test", "lib", "vitest.config.mts"],
1919
}

packages/toolkit/src/query/core/buildInitiate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ You must add the middleware for RTK-Query to function correctly!`,
302302
subscriptionOptions,
303303
[forceQueryFnSymbol]: forceQueryFn,
304304
...rest
305-
} = {}
305+
} = {},
306306
) =>
307307
(dispatch, getState) => {
308308
const queryCacheKey = serializeQueryArgs({

0 commit comments

Comments
 (0)