mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-26 07:57:17 +00:00
* SendGrid integration * unused logs * unused logs * update help text * fixestypos for schema description * fixestypos for schema description * adding sendgrid docs * updates logo from Sendgrid's media kit * sendgrid query schema updated * fixes typos * updates docs * typos fix * fix jest module transform Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
21 lines
629 B
TypeScript
21 lines
629 B
TypeScript
module.exports = async () => {
|
|
return {
|
|
verbose: true,
|
|
moduleFileExtensions: ['js', 'json', 'ts'],
|
|
rootDir: '.',
|
|
testEnvironment: 'node',
|
|
testRegex: '.spec.ts$',
|
|
testPathIgnorePatterns: ['.e2e-spec.ts$'],
|
|
transform: {
|
|
'^.+\\.(t|j)s$': 'ts-jest',
|
|
},
|
|
moduleNameMapper: {
|
|
'dist/src/entities/(.*)': '<rootDir>/dist/src/entities/$1',
|
|
'^src/(.*)': '<rootDir>/src/$1',
|
|
'@plugins/(.*)': '<rootDir>/plugins/$1',
|
|
'@services/(.*)': '<rootDir>/src/services/$1',
|
|
'@controllers/(.*)': '<rootDir>/src/controllers/$1',
|
|
'@ee/(.*)': '<rootDir>/ee/$1',
|
|
},
|
|
};
|
|
};
|