File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11node_modules
22lib
3+ coverage
34
45# ## VisualStudioCode Patch ###
56# Ignore all local history of files
Original file line number Diff line number Diff line change 11/** @type {import("jest").Config } */
22export default {
33 // verbose: true, // Uncomment for detailed test output
4+ collectCoverage : true ,
5+ coverageDirectory : "coverage" ,
46 testEnvironment : "jsdom" ,
57 testEnvironmentOptions : {
68 customExportConditions : [ "node" ] ,
79 } ,
10+ testPathIgnorePatterns : [ "/node_modules/" , "/lib/" ] ,
811 transform : {
912 "^.+\\.[tj]sx?$" : [ "babel-jest" , { configFile : "./babel.config.js" } ] ,
1013 } ,
Original file line number Diff line number Diff line change 1212 "lint" : " eslint 'src/**/*.ts' 'test/**/*.ts'" ,
1313 "typecheck" : " tsc --noEmit" ,
1414 "typecheck:test" : " tsc --noEmit -p tsconfig.test.json" ,
15- "test" : " jest" ,
15+ "test" : " jest --no-coverage" ,
16+ "test:coverage" : " jest --coverage" ,
1617 "test-debug" : " node --inspect-brk ./node_modules/.bin/jest -i --env jest-environment-node-debug" ,
1718 "prepublishOnly" : " npm run build && npm run test" ,
1819 "preversion" : " npm run lint && npm run typecheck && npm test" ,
You can’t perform that action at this time.
0 commit comments