File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,9 +50,6 @@ Thumbs.db
5050dist /temp
5151dist /.temp
5252
53- # ignore jest coverage
54- coverage
55-
5653# -------------------------
5754# BEGIN Whitelisted Files
5855# -------------------------
Original file line number Diff line number Diff line change 55 "license" : " MIT" ,
66 "scripts" : {
77 "test" : " ./vendor/bin/phpunit --testdox" ,
8- "coverage" : " XDEBUG_MODE=coverage ./vendor/bin/phpunit --testdox" ,
8+ "test: coverage" : " XDEBUG_MODE=coverage ./vendor/bin/phpunit --testdox" ,
99 "minimal" : " ./vendor/bin/phpunit"
1010 },
1111 "authors" : [
3030 "phpunit/phpunit" : " ^9.5" ,
3131 "php-stubs/wordpress-stubs" : " ^6.8"
3232 }
33- }
33+ }
Original file line number Diff line number Diff line change 22module . exports = {
33 testEnvironment : "node" ,
44 transform : {
5- "^.+\.tsx?$" : [ "ts-jest" , { } ] ,
5+ "^.+\.tsx?$" : [ "ts-jest" , { } ] ,
66 } ,
7+ coverageDirectory : "./.coverage-jest" ,
78} ;
Original file line number Diff line number Diff line change 1919 </exclude >
2020 <report >
2121 <text outputFile =" php://stdout" showUncoveredFiles =" true" />
22- <html outputDirectory =" ./.coverage" />
23- <clover outputFile =" ./.coverage/clover.xml" />
22+ <html outputDirectory =" ./.coverage-phpunit " />
23+ <clover outputFile =" ./.coverage-phpunit /clover.xml" />
2424 </report >
2525 </coverage >
2626
You can’t perform that action at this time.
0 commit comments