File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ describe('ShardedWal', () => {
4848 // The groupId is auto-generated and used in the shard path
4949 // Normalize path before regex matching to handle OS-specific separators
5050 expect ( osAgnosticPath ( shard . getPath ( ) ) ) . toMatch (
51- / ^ \/ t e s t \/ s h a r d s \/ \d { 8 } - \d { 6 } - \d { 3 } \/ t r a c e \. \d { 8 } - \d { 6 } - \d { 3 } (?: \. \d + ) { 3 } \. l o g $ / ,
51+ / ^ < C W D > \/ s h a r d s \/ \d { 8 } - \d { 6 } - \d { 3 } \/ t r a c e \. \d { 8 } - \d { 6 } - \d { 3 } (?: \. \d + ) { 3 } \. l o g $ / ,
5252 ) ;
5353 expect ( shard . getPath ( ) ) . toEndWithPath ( '.log' ) ;
5454 } ) ;
@@ -59,7 +59,7 @@ describe('ShardedWal', () => {
5959 } ) ;
6060 const shard = sw . shard ( ) ;
6161 expect ( shard . getPath ( ) ) . toStartWithPath (
62- '/test /shards/20231114-221320-000/trace.20231114-221320-000.10001' ,
62+ '<CWD> /shards/20231114-221320-000/trace.20231114-221320-000.10001' ,
6363 ) ;
6464 expect ( shard . getPath ( ) ) . toEndWithPath ( '.log' ) ;
6565 } ) ;
You can’t perform that action at this time.
0 commit comments