diff --git a/.babelrc b/.babelrc index e951f2c97..a90fee267 100644 --- a/.babelrc +++ b/.babelrc @@ -35,6 +35,14 @@ "displayName": false } ] + ], + "ignore": [ + "**/*.test.ts" + ] + }, + "development": { + "ignore": [ + "**/*.test.ts" ] } } diff --git a/server/.babelrc b/server/.babelrc index e7401f653..d75fdb8cc 100644 --- a/server/.babelrc +++ b/server/.babelrc @@ -24,5 +24,19 @@ } ], "tsconfig-paths-module-resolver" - ] + ], + "env": { + "production": { + "ignore": [ + "**/__mocks__", + "**/*.test.ts" + ] + }, + "development": { + "ignore": [ + "**/__mocks__", + "**/*.test.ts" + ] + } + } } \ No newline at end of file