File tree Expand file tree Collapse file tree 4 files changed +182
-182
lines changed Expand file tree Collapse file tree 4 files changed +182
-182
lines changed Original file line number Diff line number Diff line change 22 "extends" : [
33 " :semanticCommits"
44 ],
5+ "ignorePaths" : [
6+ " .github/workflows/build.yml"
7+ ],
58 "labels" : [
69 " maintenance"
710 ],
8- "semanticCommitScope" : null ,
11+ "lockFileMaintenance" : {
12+ "enabled" : true
13+ },
914 "packageRules" : [
1015 {
1116 "packagePatterns" : [
2328 "semanticCommitType" : " fix"
2429 }
2530 ],
26- "lockFileMaintenance" : {
27- "enabled" : true
28- }
31+ "semanticCommitScope" : null
2932}
Original file line number Diff line number Diff line change 3232 "@dword-design/puppeteer" : " ^3.0.1" ,
3333 "@dword-design/tester" : " ^1.2.1" ,
3434 "@dword-design/tester-plugin-component" : " ^1.0.0" ,
35- "@dword-design/tester-plugin-puppeteer" : " ^1.0.3" ,
36- "puppeteer-to-istanbul" : " dword-design/puppeteer-to-istanbul#fork"
35+ "@dword-design/tester-plugin-puppeteer" : " ^2.0.0"
3736 },
3837 "publishConfig" : {
3938 "access" : " public"
Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ import { endent } from '@dword-design/functions'
22import tester from '@dword-design/tester'
33import testerPluginComponent from '@dword-design/tester-plugin-component'
44import testerPluginPuppeteer from '@dword-design/tester-plugin-puppeteer'
5- import P from 'path'
6- import puppeteerToIstanbul from 'puppeteer-to-istanbul'
7-
8- const storagePath = P . resolve ( '.nyc_output' )
95
106export default tester (
117 {
@@ -33,14 +29,11 @@ export default tester(
3329
3430 ` ,
3531 async test ( ) {
36- await this . page . coverage . startJSCoverage ( )
3732 await this . page . goto ( 'http://localhost:3000' )
3833 await this . page . waitForSelector ( '.foo' )
3934 expect (
4035 await this . page . screenshot ( { fullPage : true } )
4136 ) . toMatchImageSnapshot ( this )
42- const coverage = await this . page . coverage . stopJSCoverage ( )
43- puppeteerToIstanbul . write ( coverage , { storagePath } )
4437 } ,
4538 } ,
4639 } ,
You can’t perform that action at this time.
0 commit comments