Skip to content

Commit

Permalink
chore: reverse unecessary jest config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Viviane Dias committed Dec 1, 2023
1 parent 2f41329 commit e6eec04
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions packages/cli-mautic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@
"compilerOptions": {
"rootDir": "src",
"outDir": "dist"
},
"include": ["src/**/*.ts"]
}
}
2 changes: 1 addition & 1 deletion packages/cli-zendesk/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
testEnvironment: "node",
transform: {
"^.+\\.[tj]sx?$": "ts-jest",
"^.+\\.tsx?$": "ts-jest"
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts|js)x?$",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
testEnvironment: "node",
transform: {
"^.+\\.[tj]sx?$": "ts-jest",
"^.+\\.tsx?$": "ts-jest"
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$",
Expand Down
2 changes: 1 addition & 1 deletion packages/listener-match/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
testEnvironment: "node",
transform: {
"^.+\\.[tj]sx?$": "ts-jest",
"^.+\\.tsx?$": "ts-jest"
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts|js)x?$",
Expand Down
2 changes: 1 addition & 1 deletion packages/listener-solidarity/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
testEnvironment: "node",
transform: {
"^.+\\.[tj]sx?$": "ts-jest",
"^.+\\.tsx?$": "ts-jest"
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts|js)x?$",
Expand Down
4 changes: 2 additions & 2 deletions packages/webhooks-mautic-zendesk/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module.exports = {
testEnvironment: "node",
transform: {
"^.+\\.[tj]sx?$": "ts-jest",
"^.+\\.tsx?$": "ts-jest"
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts|js)x?$",
coverageDirectory: "coverage",
collectCoverageFrom: ["src/**/*.{ts,tsx,js,jsx}", "!src/**/*.d.ts"],
setupFiles: ["<rootDir>/src/beforeEachTest.ts"],
modulePathIgnorePatterns: ["dist/"],
preset: "ts-jest",
preset: "ts-jest"
};
2 changes: 1 addition & 1 deletion packages/webhooks-solidarity-count/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
setupFiles: ["<rootDir>/src/beforeEachTest.ts"],
testEnvironment: "node",
transform: {
"^.+\\.[tj]sx?$": "ts-jest",
"^.+\\.tsx?$": "ts-jest"
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts|js)x?$",
Expand Down

0 comments on commit e6eec04

Please sign in to comment.