Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Feb 7, 2024
1 parent 6d8c918 commit d289b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rtk-query-codegen-openapi/test/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Done
}, 25_000);

test('paths are relative to config file, not to cwd', async () => {
const out = await cli([`./test/config.example.js`], path.resolve(__dirname, '../src'));
const out = await cli([`./test/config.example.js`], __dirname);

expect(out).toEqual({
stdout: `Generating ./tmp/example.ts
Expand Down

0 comments on commit d289b24

Please sign in to comment.