aboutsummaryrefslogtreecommitdiff
path: root/test/cli/install/migration/complex-workspace/reset.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/cli/install/migration/complex-workspace/reset.ts')
-rw-r--r--test/cli/install/migration/complex-workspace/reset.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/cli/install/migration/complex-workspace/reset.ts b/test/cli/install/migration/complex-workspace/reset.ts
new file mode 100644
index 000000000..6573d9811
--- /dev/null
+++ b/test/cli/install/migration/complex-workspace/reset.ts
@@ -0,0 +1,9 @@
+import fs from "fs";
+
+fs.rmSync("bun.lockb", { recursive: true, force: true });
+fs.rmSync("node_modules", { recursive: true, force: true });
+fs.rmSync("packages/body-parser/node_modules", { recursive: true, force: true });
+fs.rmSync("packages/lol-package/node_modules", { recursive: true, force: true });
+fs.rmSync("packages/second/node_modules", { recursive: true, force: true });
+fs.rmSync("packages/with-postinstall/node_modules", { recursive: true, force: true });
+fs.rmSync("packages/with-postinstall/postinstall.txt", { recursive: true, force: true });