release: opensource snapshot 2026-02-27 19:25:00

This commit is contained in:
saturn
2026-02-27 19:25:00 +08:00
commit 5de9622c8b
1055 changed files with 164772 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { execSync } from 'node:child_process'
import { loadTestEnv } from './env'
export async function runGlobalTeardown() {
loadTestEnv()
const shouldBootstrap = process.env.BILLING_TEST_BOOTSTRAP === '1' || process.env.SYSTEM_TEST_BOOTSTRAP === '1'
if (!shouldBootstrap) return
if (process.env.BILLING_TEST_KEEP_SERVICES === '1') return
execSync('docker compose -f docker-compose.test.yml down -v --remove-orphans', {
cwd: process.cwd(),
stdio: 'inherit',
})
}