test: initial end to end test with playwright
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const { execSync } = require('child_process');
|
||||
const path = require('path');
|
||||
|
||||
const COMPOSE_FILE = path.join(__dirname, 'docker-compose.test.yml');
|
||||
|
||||
module.exports = async function globalTeardown() {
|
||||
console.log('[teardown] Stopping test postgres...');
|
||||
execSync(`docker compose -f ${COMPOSE_FILE} down -v`, { stdio: 'inherit' });
|
||||
};
|
||||
Reference in New Issue
Block a user