File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed
packages/rtk-query-codegen-openapi Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11const { resolve } = require ( 'path' ) ;
22
3- const tsConfigPath = resolve ( './test/tsconfig' ) ;
3+ const tsConfigPath = resolve ( './test/tsconfig.json ' ) ;
44
55/** @typedef {import('ts-jest/dist/types') } */
66/** @type {import('@jest/types').Config.InitialOptions } */
77const config = {
88 rootDir : './test' ,
99 setupFilesAfterEnv : [ '<rootDir>/jest.setup.ts' ] ,
10+ preset : 'ts-jest' ,
1011 globals : {
1112 'ts-jest' : {
1213 tsconfig : tsConfigPath ,
Original file line number Diff line number Diff line change 7070
7171 expect ( fromTs ) . toEqual ( fromJs ) ;
7272 expect ( fromJson ) . toEqual ( fromJs ) ;
73- } , 25000 ) ;
73+ } , 120000 ) ;
7474
7575 test ( 'missing parameters doesnt fail' , async ( ) => {
7676 const out = await cli ( [ `./config.invalid-example.json` ] , __dirname ) ;
Original file line number Diff line number Diff line change 1+ // @ts -ignore
12global . fetch = require ( 'node-fetch' ) ;
23const { format } = require ( 'prettier' ) ;
34const { server } = require ( './mocks/server' ) ;
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3+ "lib" : [" es2019" ],
34 "paths" : {
45 "@/*" : [" ./test/fixtures/*" ],
56 "@rtk-query/codegen-openapi" : [" ./src" ]
You can’t perform that action at this time.
0 commit comments