mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
* test: migrate regenerator test runner to jest * perf: parallelize the test tasks * fix: specify test runner and environment * Revert "perf: parallelize the test tasks" This reverts commit 2de536c1e5a1a190ffefd22e4153fdce5c2f9534. * chore: add comment why these tests can not be parallelized * remove yargs resolution * override c8/yargs resolution * refactor: programmatically run Jest tests * update jest versions
14 lines
377 B
JavaScript
14 lines
377 B
JavaScript
// @ts-check
|
|
|
|
/** @type {import('jest').Config} */
|
|
const config = {
|
|
runner: "jest-light-runner",
|
|
testEnvironment: "node",
|
|
// https://github.com/nodejs/node/pull/58588#issuecomment-2961692890
|
|
testTimeout: 10000,
|
|
// Disable transform for test files since they are already transformed by the convert step in regenerator.js.
|
|
transform: {},
|
|
};
|
|
|
|
module.exports = config;
|