mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
* [migrations] only apply non-blocking migrations in CI * [migrations] use "yarn run migrations" instead of "npm run migrations" GitOrigin-RevId: d9f96db398adf2febcd82333295fb8d5eab741bb
10 lines
279 B
TypeScript
10 lines
279 B
TypeScript
import { beforeAll } from 'vitest'
|
|
import { exec } from 'node:child_process'
|
|
import { promisify } from 'node:util'
|
|
|
|
beforeAll(async function () {
|
|
await promisify(exec)(
|
|
`cd ../../tools/migrations && yarn run migrations migrate -t 'server-ce & !nonblocking'`
|
|
)
|
|
}, 60_000)
|