feat: initial setup with WhatsApp CRM apps and sync services
This commit is contained in:
21
apps/whatsapp-sync/jest.config.js
Normal file
21
apps/whatsapp-sync/jest.config.js
Normal file
@@ -0,0 +1,21 @@
|
||||
/** @type {import('jest').Config} */
|
||||
module.exports = {
|
||||
testEnvironment: 'node',
|
||||
setupFilesAfterEnv: [],
|
||||
collectCoverageFrom: [
|
||||
'src/**/*.{ts,js}',
|
||||
'!src/**/*.d.ts',
|
||||
],
|
||||
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
|
||||
moduleFileExtensions: ['ts', 'js', 'json'],
|
||||
transform: {
|
||||
'^.+\\.jsx?$': 'babel-jest',
|
||||
},
|
||||
transformIgnorePatterns: [
|
||||
'/node_modules/',
|
||||
],
|
||||
moduleNameMapper: {
|
||||
'^qrcode-terminal$': '<rootDir>/tests/__mocks__/qrcode-terminal.js',
|
||||
'^whatsapp-web.js$': '<rootDir>/tests/__mocks__/whatsapp-web.js',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user