aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/test/db_global_hooks.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pipeline/test/db_global_hooks.ts')
-rw-r--r--packages/pipeline/test/db_global_hooks.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/pipeline/test/db_global_hooks.ts b/packages/pipeline/test/db_global_hooks.ts
new file mode 100644
index 000000000..dfee02c45
--- /dev/null
+++ b/packages/pipeline/test/db_global_hooks.ts
@@ -0,0 +1,9 @@
+import { setUpDbAsync, tearDownDbAsync } from './db_setup';
+
+before('set up database', async () => {
+ await setUpDbAsync();
+});
+
+after('tear down database', async () => {
+ await tearDownDbAsync();
+});