aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/teardown.ts5
-rw-r--r--test/test.env2
2 files changed, 6 insertions, 1 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
diff --git a/test/test.env b/test/test.env
index 2742aac..42ff7dd 100644
--- a/test/test.env
+++ b/test/test.env
@@ -1,4 +1,4 @@
-BASE_DIR=git
+BASE_DIR=/tmp/nodegit_test
AVAIL_REPO=githermit.git
AVAIL_REPO_URL=https://gitlab.com/HampusMat/githermit.git
UNAVAIL_REPO=angular