File tree Expand file tree Collapse file tree 4 files changed +21
-4
lines changed
Expand file tree Collapse file tree 4 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 33 * https://jestjs.io/docs/configuration
44 */
55
6- export default {
6+ module . exports = {
77 // All imported modules in your tests should be mocked automatically
88 // automock: false,
99
Original file line number Diff line number Diff line change 1313 "noImplicitReturns" : true ,
1414 "noFallthroughCasesInSwitch" : true ,
1515 "experimentalDecorators" : true ,
16- "esModuleInterop " : true
16+ "skipLibCheck " : true
1717 },
1818 "exclude" : [" node_modules" ]
1919}
Original file line number Diff line number Diff line change 11import * as React from 'react' ;
2+ import { VariantAnalysisStatus } from '../../remote-queries/shared/variant-analysis' ;
3+ import { VariantAnalysisContainer } from './VariantAnalysisContainer' ;
4+ import { VariantAnalysisHeader } from './VariantAnalysisHeader' ;
25
36export function VariantAnalysis ( ) : JSX . Element {
4- return < span > Hello!</ span > ;
7+ return (
8+ < VariantAnalysisContainer >
9+ < VariantAnalysisHeader
10+ queryName = "Example query"
11+ queryFileName = "example.ql"
12+ status = { VariantAnalysisStatus . InProgress }
13+ onOpenQueryClick = { ( ) => void 0 }
14+ onViewQueryClick = { ( ) => void 0 }
15+ onStopQueryClick = { ( ) => void 0 }
16+ onCopyRepositoryListClick = { ( ) => void 0 }
17+ onExportResultsClick = { ( ) => void 0 }
18+ />
19+ </ VariantAnalysisContainer >
20+ ) ;
521}
Original file line number Diff line number Diff line change 1010 "moduleResolution" : " node" ,
1111 "sourceMap" : true ,
1212 "rootDir" : " src" ,
13+ "skipLibCheck" : true ,
1314 "strictNullChecks" : true ,
1415 "noFallthroughCasesInSwitch" : true ,
1516 "preserveWatchOutput" : true ,
1920 "noUnusedLocals" : true ,
2021 "noUnusedParameters" : true
2122 },
22- "include" : [" src/**/*.ts" , " jest.config.ts " ],
23+ "include" : [" src/**/*.ts" ],
2324 "exclude" : [" node_modules" , " test" , " **/view" ]
2425}
You can’t perform that action at this time.
0 commit comments