@swc-node/jest
Help me to become a full-time open-source developer by sponsoring me on Github
Usage
// jest.config.js
module.exports = {
transform: {
'^.+\\.(t|j)sx?
Configuration
Configuration can be passed as a second argument to transform:
// jest.config.js
module.exports = {
transform: {
'^.+\\.(t|j)sx?
: ['@swc-node/jest'],
},
}
Configuration
Configuration can be passed as a second argument to __INLINE_CODE_1__:
__CODE_BLOCK_1__
: [
'@swc-node/jest',
// configuration
{
dynamicImport: true,
react: {
pragma: 'h',
},
},
],
},
}
List of all of the available configuration options.
: ['@swc-node/jest'], }, }Configuration
Configuration can be passed as a second argument to __INLINE_CODE_1__:
__CODE_BLOCK_1__