test: add teardown dependency to clean db after tests

This commit is contained in:
Jakub P.
2024-07-22 15:42:21 +02:00
parent 129327f40d
commit 37d02eba02
5 changed files with 50 additions and 2 deletions

View File

@@ -45,6 +45,11 @@ module.exports = defineConfig({
{
name: 'setup',
testMatch: /.*\.setup\.js/,
teardown: 'teardown',
},
{
name: 'teardown',
testMatch: /.*\.teardown\.js/,
},
{
name: 'chromium',