You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to officially export the default Jest configuration so it can be expanded.
Example:
// File jest.config.js// See https://github.com/facebook/jest/blob/v22.4.2/packages/jest-config/src/defaults.jsconstdefaults=require('jest-config/build/defaults').default;module.exports={// ...moduleFileExtensions: [...defaults.moduleFileExtensions,'ts','tsx']// ...};
Line const defaults = require('jest-config/build/defaults').default works but is not very elegant (something like import { defaults } from 'jest-config' would be nice).
Also if officially supported, it should be documented.
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
Would be nice to officially export the default Jest configuration so it can be expanded.
Example:
Line
const defaults = require('jest-config/build/defaults').default
works but is not very elegant (something likeimport { defaults } from 'jest-config'
would be nice).Also if officially supported, it should be documented.
The text was updated successfully, but these errors were encountered: