File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed 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