pnpm

Форк
0
/
jest.setup.js 
14 строк · 514.0 Байт
1
const { finishWorkers } = require('@pnpm/worker')
2

3
jest.retryTimes(1, {
4
  // Some tests don't clean up their resources completely and cause the retried
5
  // run fail. Set logErrorsBeforeRetry to make it more clear that the retried
6
  // run was a retry and not the first attempt. Otherwise Jest hides the first
7
  // attempt. This makes it easier to distinguish between a test that's truly
8
  // broken and one that's not retry-able.
9
  logErrorsBeforeRetry: true
10
})
11

12
afterAll(async () => {
13
  await finishWorkers()
14
})
15

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.