sourcegraph/client/browser/scripts/test-integration.js
2022-04-13 11:03:08 +03:00

13 lines
331 B
JavaScript

const shelljs = require('shelljs')
const { decompressRecordings, deleteRecordings } = require('./utils')
// eslint-disable-next-line no-void
void (async () => {
await decompressRecordings()
shelljs.exec('POLLYJS_MODE=replay yarn run-integration', async code => {
await deleteRecordings()
process.exit(code)
})
})()