We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43f859a commit afd4080Copy full SHA for afd4080
packages/addons/_tests/drizzle/test.ts
@@ -19,6 +19,11 @@ vitest.beforeAll(() => {
19
const cwd = path.dirname(fileURLToPath(import.meta.url));
20
execSync('docker compose up --detach', { cwd, stdio: 'pipe' });
21
22
+ // cleans up the containers on interrupts (ctrl+c)
23
+ process.addListener('SIGINT', () => {
24
+ execSync('docker compose down --volumes', { cwd, stdio: 'pipe' });
25
+ });
26
+
27
return () => {
28
execSync('docker compose down --volumes', { cwd, stdio: 'pipe' });
29
};
0 commit comments