Skip to content

Commit 1116582

Browse files
bayasdevmarkerikson
authored andcommitted
Fix "flattenArg" test
1 parent 7dacec3 commit 1116582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ describe('option flattenArg', () => {
153153
...config,
154154
filterEndpoints: ['findPetsByStatus'],
155155
});
156-
expect(api).toContain('params: { status: queryArg }');
156+
expect(api).toContain('status: queryArg');
157157
expect(api).not.toContain('export type FindPetsByStatusApiArg = {');
158158
});
159159

0 commit comments

Comments
 (0)