File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -50,4 +50,6 @@ function getPreferredNodeName(nodeName: string) {
5050 if ( firstChar === 'x' ) {
5151 return `${ nodeName . slice ( 1 ) } .skip` ;
5252 }
53+
54+ return null ;
5355}
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ const isExpectCallPresentInFunction = (body: TSESTree.Node) => {
3737 if ( line . type === AST_NODE_TYPES . ReturnStatement && line . argument ) {
3838 return isFullExpectCall ( line . argument ) ;
3939 }
40+
41+ return false ;
4042 } ) ;
4143 }
4244
@@ -147,6 +149,8 @@ const verifyExpectWithReturn = (
147149 return true ;
148150 }
149151 }
152+
153+ return false ;
150154 } ) ;
151155} ;
152156
Original file line number Diff line number Diff line change 22 "compilerOptions" : {
33 "target" : " es5" ,
44 "module" : " commonjs" ,
5+ "moduleResolution" : " node" ,
56 "noEmit" : true ,
7+ "noImplicitReturns" : true ,
68 "strict" : true ,
7- "moduleResolution" : " node" ,
89 "esModuleInterop" : true ,
9- "resolveJsonModule" : true
10+ "resolveJsonModule" : true ,
11+ "forceConsistentCasingInFileNames" : true
1012 },
1113 "include" : [" src/**/*" ]
1214}
You can’t perform that action at this time.
0 commit comments