Files
rowt/frontend/tests/helpers.ts
Philipp Hofer 0be1a35252
Some checks failed
CI/CD Pipeline / test (push) Failing after 38m57s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
try to fix ci
2025-11-20 12:49:52 +01:00

9 lines
218 B
TypeScript

import { exec } from 'child_process';
import { promisify } from 'util';
const execAsync = promisify(exec);
export async function resetDatabase(): Promise<void> {
await execAsync('cd .. && ./reset_test_data.sh');
}