just testing the environment
Some checks failed
Tests / test (push) Has been cancelled

This commit is contained in:
tom.hempel
2026-05-20 07:10:08 +02:00
parent 2a11dfd0d1
commit 06fc134299
56 changed files with 1890 additions and 361 deletions

16
e2e/global-setup.js Normal file
View File

@ -0,0 +1,16 @@
import { execSync } from 'child_process';
import path from 'path';
import { fileURLToPath } from 'url';
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
export default async function globalSetup() {
execSync('php tests/bin/seed-test-db.php', {
cwd: root,
stdio: 'inherit',
env: {
...process.env,
QDB_MASTER_KEY: 'dGVzdC1tYXN0ZXIta2V5LXRoaXQtMzJieXRzIQ==',
},
});
}