mirror of
https://github.com/apotdevin/thunderhub.git
synced 2024-11-19 09:50:03 +01:00
a78b6e96d5
* chore: 🔧 add tests * fix: 🐛 network info resolver * feat: ✨ init tests * chore: 🔧 improve test * chore: 🔧 more tests * chore: 🔧 bitcoin resolvers * chore: 🔧 more tests
21 lines
552 B
JavaScript
21 lines
552 B
JavaScript
module.exports = {
|
|
collectCoverageFrom: [
|
|
'**/*.{js,jsx,ts,tsx}',
|
|
'!**/*.d.ts',
|
|
'!**/node_modules/**',
|
|
],
|
|
setupFilesAfterEnv: ['<rootDir>/setupTests.js'],
|
|
testPathIgnorePatterns: ['<rootDir>/.next/', '<rootDir>/node_modules/'],
|
|
transform: {
|
|
'^.+\\.(js|jsx|ts|tsx)$': '<rootDir>/node_modules/babel-jest',
|
|
},
|
|
transformIgnorePatterns: [
|
|
'/node_modules/',
|
|
'^.+\\.module\\.(css|sass|scss)$',
|
|
],
|
|
moduleNameMapper: {
|
|
'^.+\\.module\\.(css|sass|scss)$': 'identity-obj-proxy',
|
|
},
|
|
modulePaths: ['<rootDir>/'],
|
|
};
|