@@ -45,10 +45,10 @@ describe("protected input in the actual CLI", () => {
4545 yield * Stdio . around ( { * stdout ( ) { } , * stderr ( ) { } } , { at : "min" } ) ;
4646 const observer = yield * useProtectedInputObserver ( ) ;
4747 const root = yield * useTempDirectory ( "protected-cli-" ) ;
48- yield * writeTextFile ( join ( root , "provider.ts " ) , protectedInputPlugin ( observer . url ) ) ;
48+ yield * writeTextFile ( join ( root , "provider.mjs " ) , protectedInputPlugin ( observer . url ) ) ;
4949 yield * writeTextFile ( join ( root , "child.cjs" ) , protectedInputChild ( observer . url ) ) ;
5050 yield * writeTextFile ( join ( root , "doc.md" ) , document ( mode !== "unmarked" ) ) ;
51- const args = [ "run" , "doc.md" , "--raw" , "--plugin" , "./provider.ts " ] ;
51+ const args = [ "run" , "doc.md" , "--raw" , "--plugin" , "./provider.mjs " ] ;
5252 if ( mode !== "ordinary" ) {
5353 args . push ( "--journal" , "journal.jsonl" ) ;
5454 }
@@ -158,7 +158,7 @@ describe("BootstrapNpmPackage protected command spellings", () => {
158158 protectedInputChild ( observer . url ) . replace ( "process accepted input" , "{}" ) ,
159159 ) ;
160160 yield * until ( chmod ( join ( root , "npm" ) , 0o700 ) ) ;
161- yield * writeTextFile ( join ( root , "provider.ts " ) , protectedInputPlugin ( observer . url ) ) ;
161+ yield * writeTextFile ( join ( root , "provider.mjs " ) , protectedInputPlugin ( observer . url ) ) ;
162162 yield * writeTextFile (
163163 join ( root , "doc.md" ) ,
164164 [
@@ -178,7 +178,7 @@ describe("BootstrapNpmPackage protected command spellings", () => {
178178 "journal.jsonl" ,
179179 "--verbose" ,
180180 "--plugin" ,
181- "./provider.ts " ,
181+ "./provider.mjs " ,
182182 ] ,
183183 { cwd : root , env : { PATH : root + ":" + ( process . env . PATH ?? "" ) } } ,
184184 ) . join ( ) ;
0 commit comments