1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-Sourcegraph

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.mocharc.js 778
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Quinn Slack Отправлено 07.11.2023 13:00 4002774
const IS_BAZEL = !!(process.env.JS_BINARY__TARGET || process.env.BAZEL_BINDIR || process.env.BAZEL_TEST)
const rootDir = IS_BAZEL ? process.cwd() : __dirname
module.exports = {
require: [
...(IS_BAZEL ? [] : ['ts-node/register/transpile-only']),
'abort-controller/polyfill',
rootDir + '/client/testing/src/fetch',
rootDir + '/client/shared/dev/suppressPollyErrors',
],
reporter: rootDir + '/client/shared/dev/customMochaSpecReporter.js',
extension: IS_BAZEL ? ['js'] : ['js', 'ts'],
// 1 minute test timeout. This must be greater than the default Puppeteer
// command timeout of 30s in order to get the stack trace to point to the
// Puppeteer command that failed instead of a cryptic test timeout
// location.
timeout: '60s',
slow: '2s',
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-Sourcegraph.git
git@api.gitlife.ru:oschina-mirror/mirrors-Sourcegraph.git
oschina-mirror
mirrors-Sourcegraph
mirrors-Sourcegraph
main