aboutsummaryrefslogtreecommitdiff
path: root/test/teardown.ts
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-22 11:41:37 +0200
committerHampusM <hampus@hampusmat.com>2021-07-22 11:41:37 +0200
commit32df7b18bc5b7fd9d268fe457352b885f2f68149 (patch)
tree24243d750481cb269f6edc1a7a47f9d9a459dccc /test/teardown.ts
parente00a8a2356ceb6cc2698001ae838abcbdec36188 (diff)
Data used by tests now in /tmp/nodegit_test & added test teardown script
Diffstat (limited to 'test/teardown.ts')
-rw-r--r--test/teardown.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/teardown.ts b/test/teardown.ts
new file mode 100644
index 0000000..3712af2
--- /dev/null
+++ b/test/teardown.ts
@@ -0,0 +1,5 @@
+import { remove } from "fs-extra";
+
+export default async function teardown() {
+ await remove(process.env.BASE_DIR);
+} \ No newline at end of file