diff --git a/scripts/lowercase-modules.ts b/scripts/lowercase-modules.ts index 8f2df384..fea96c99 100644 --- a/scripts/lowercase-modules.ts +++ b/scripts/lowercase-modules.ts @@ -45,6 +45,9 @@ const renameToLowercase: (prim: Primitive, name: ModuleWithExtension) => Build C => pipe( C.exec(`git mv src/${prim}/${name} src/${prim}/${camelFromPascal(name)}`), + TE.apFirst( + C.exec(`git mv tests/${prim}/${name} tests/${prim}/${camelFromPascal(name)}`) + ), TE.chainFirstIOK(() => Cons.log(Color.green(`✔️ Renamed ${name} to ${camelFromPascal(name)}`)) )