@@ -871,6 +871,8 @@ export const WorkerdTests: Record<string, () => void> = {
871871 REPLServer : "function" ,
872872 builtinModules : "object" ,
873873 _builtinLibs : "object" ,
874+ REPL_MODE_SLOPPY : "symbol" ,
875+ REPL_MODE_STRICT : "symbol" ,
874876 } ) ;
875877
876878 assertTypeOfProperties ( repl . default , {
@@ -880,14 +882,10 @@ export const WorkerdTests: Record<string, () => void> = {
880882 REPLServer : "function" ,
881883 builtinModules : "object" ,
882884 _builtinLibs : "object" ,
885+ REPL_MODE_SLOPPY : "symbol" ,
886+ REPL_MODE_STRICT : "symbol" ,
883887 } ) ;
884888
885- // REPL_MODE_SLOPPY and REPL_MODE_STRICT are symbols
886- assertTypeOf ( repl , "REPL_MODE_SLOPPY" , "symbol" ) ;
887- assertTypeOf ( repl , "REPL_MODE_STRICT" , "symbol" ) ;
888- assertTypeOf ( repl . default , "REPL_MODE_SLOPPY" , "symbol" ) ;
889- assertTypeOf ( repl . default , "REPL_MODE_STRICT" , "symbol" ) ;
890-
891889 // builtinModules should be an array (not in TypeScript types but exported by both unenv and workerd)
892890 assert . ok ( Array . isArray ( ( repl as any ) . builtinModules ) ) ;
893891 assert . ok ( ( repl as any ) . builtinModules . length > 0 ) ;
0 commit comments