Skip to content

Commit

Permalink
Add moduleFileExtensions in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark1626 committed Oct 27, 2019
1 parent 4528d6c commit 7c28c0f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/jest-core/src/__tests__/TestScheduler.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ test('schedule tests run in parallel per default', async () => {
const test = {
context: {
config: {
moduleFileExtensions: ['.js'],
runner: 'jest-runner-parallel',
transform: [],
},
Expand All @@ -109,6 +110,7 @@ test('schedule tests run in serial if the runner flags them', async () => {
const test = {
context: {
config: {
moduleFileExtensions: ['.js'],
runner: 'jest-runner-serial',
transform: [],
},
Expand All @@ -131,6 +133,7 @@ test('should bail after `n` failures', async () => {
const test = {
context: {
config: {
moduleFileExtensions: ['.js'],
rootDir: './',
runner: 'jest-runner-serial',
transform: [],
Expand Down Expand Up @@ -162,6 +165,7 @@ test('should not bail if less than `n` failures', async () => {
const test = {
context: {
config: {
moduleFileExtensions: ['.js'],
rootDir: './',
runner: 'jest-runner-serial',
transform: [],
Expand Down Expand Up @@ -193,6 +197,7 @@ test('should set runInBand to run in serial', async () => {
const test = {
context: {
config: {
moduleFileExtensions: ['.js'],
runner: 'jest-runner-parallel',
transform: [],
},
Expand All @@ -218,6 +223,7 @@ test('should set runInBand to not run in serial', async () => {
const test = {
context: {
config: {
moduleFileExtensions: ['.js'],
runner: 'jest-runner-parallel',
transform: [],
},
Expand Down

0 comments on commit 7c28c0f

Please sign in to comment.