mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
11 lines
258 B
JavaScript
11 lines
258 B
JavaScript
import { exec } from 'node:child_process'
|
|
import { promisify } from 'node:util'
|
|
|
|
before('run migrations', async function () {
|
|
this.timeout(60_000)
|
|
|
|
await promisify(exec)(
|
|
`cd ../../tools/migrations && yarn run migrations migrate -t server-ce`
|
|
)
|
|
})
|