File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 4747 path : |
4848 ~/.cache/ms-playwright
4949 ~/AppData/Local/ms-playwright
50+ ~/Library/Caches/ms-playwright
5051 key : ${{ runner.os }}-playwright-${{ hashFiles('**/package-lock.json') }}
5152 restore-keys : |
5253 ${{ runner.os }}-playwright-
8586 echo "_No coverage info found._" >> $GITHUB_STEP_SUMMARY
8687 fi
8788
88-
8989 - name : Post integration test coverage to PR
9090 if : github.event_name == 'pull_request' && runner.os == 'Linux'
9191 uses : actions/github-script@v7
Original file line number Diff line number Diff line change @@ -5,12 +5,10 @@ class TestLogger implements Logger {
55 private _hasWarned = false ;
66 private warnedMessages = new Set < string > ( ) ;
77
8- // Required properties (not methods!)
9- get hasWarned ( ) : boolean {
8+ get hasWarned ( ) : boolean {
109 return this . _hasWarned ;
1110 }
1211
13- // Methods
1412 info ( msg : string , options ?: { timestamp ?: boolean } ) {
1513 const ts = options ?. timestamp ? `[${ new Date ( ) . toISOString ( ) } ] ` : '' ;
1614 console . log ( `[TEST INFO] ${ ts } ${ msg } ` ) ;
@@ -43,12 +41,10 @@ class TestLogger implements Logger {
4341 }
4442}
4543
46- // 2. Apply at Vite config level (not test level)
4744export default defineConfig ( {
4845 customLogger : new TestLogger ( ) ,
4946 logLevel : 'info' ,
5047
51- //Vitest-specific configuration
5248 test : {
5349 coverage : {
5450 provider : 'v8' ,
You can’t perform that action at this time.
0 commit comments