@@ -15,8 +15,9 @@ import {
1515} from "./helpers/hermes-restart-config-seal-fixture" ;
1616
1717describe . skipIf ( process . platform === "win32" ) ( "Hermes mutable restart input seal" , ( ) => {
18- for ( const oversizedName of [ "config.yaml" , ".env" ] as const ) {
19- it ( `contains an oversized sparse ${ oversizedName } without reading its logical payload` , ( ) => {
18+ it . each ( [ "config.yaml" , ".env" ] as const ) (
19+ "contains an oversized sparse %s without reading its logical payload" ,
20+ ( oversizedName ) => {
2021 const fixture = createRestartFixture ( ) ;
2122 const oversizedPath = oversizedName === "config.yaml" ? fixture . configPath : fixture . envPath ;
2223 fs . truncateSync (
@@ -41,8 +42,8 @@ describe.skipIf(process.platform === "win32")("Hermes mutable restart input seal
4142 fs . chmodSync ( fixture . hermesDir , 0o700 ) ;
4243 fs . rmSync ( fixture . root , { recursive : true , force : true } ) ;
4344 }
44- } ) ;
45- }
45+ } ,
46+ ) ;
4647
4748 it ( "fresh-seals a hardlinked input and revokes the external writable inode" , ( ) => {
4849 const fixture = createRestartFixture ( ) ;
@@ -82,8 +83,9 @@ describe.skipIf(process.platform === "win32")("Hermes mutable restart input seal
8283 }
8384 } ) ;
8485
85- for ( const hostileKind of [ "symlink" , "fifo" ] as const ) {
86- it ( `seals a hostile ${ hostileKind } config entry into a root-only unavailable posture` , ( ) => {
86+ it . each ( [ "symlink" , "fifo" ] as const ) (
87+ "seals a hostile %s config entry into a root-only unavailable posture" ,
88+ ( hostileKind ) => {
8789 const fixture = createRestartFixture ( ) ;
8890 fs . unlinkSync ( fixture . configPath ) ;
8991 const arrangeHostileConfig = {
@@ -119,11 +121,12 @@ describe.skipIf(process.platform === "win32")("Hermes mutable restart input seal
119121 fs . chmodSync ( fixture . hermesDir , 0o700 ) ;
120122 fs . rmSync ( fixture . root , { recursive : true , force : true } ) ;
121123 }
122- } ) ;
123- }
124+ } ,
125+ ) ;
124126
125- for ( const hostileKind of [ "symlink" , "fifo" ] as const ) {
126- it ( `quarantines an outer .hermes ${ hostileKind } only after freezing /sandbox` , ( ) => {
127+ it . each ( [ "symlink" , "fifo" ] as const ) (
128+ "quarantines an outer .hermes %s only after freezing /sandbox" ,
129+ ( hostileKind ) => {
127130 const fixture = createRestartFixture ( ) ;
128131 fs . rmSync ( fixture . hermesDir , { recursive : true , force : true } ) ;
129132 const victim = path . join ( fixture . root , "outer-victim" ) ;
@@ -154,8 +157,8 @@ describe.skipIf(process.platform === "win32")("Hermes mutable restart input seal
154157 fs . chmodSync ( fixture . hermesDir , 0o700 ) ;
155158 fs . rmSync ( fixture . root , { recursive : true , force : true } ) ;
156159 }
157- } ) ;
158- }
160+ } ,
161+ ) ;
159162
160163 it ( "re-seals an applied mutable transition before recursive rollback" , ( ) => {
161164 const fixture = createRestartFixture ( ) ;
0 commit comments