From 0d380f54d6e058d41a9ad850530f6bb7fb4f1e4d Mon Sep 17 00:00:00 2001 From: Jason Smith Date: Sun, 26 Nov 2023 11:30:02 -0800 Subject: [PATCH] Remove ore jest files --- packages/cells/jest.config.js | 24 ------------------------ packages/core/jest.config.js | 25 ------------------------- packages/source/jest.config.js | 12 ------------ 3 files changed, 61 deletions(-) delete mode 100644 packages/cells/jest.config.js delete mode 100644 packages/core/jest.config.js delete mode 100644 packages/source/jest.config.js diff --git a/packages/cells/jest.config.js b/packages/cells/jest.config.js deleted file mode 100644 index aead1b531..000000000 --- a/packages/cells/jest.config.js +++ /dev/null @@ -1,24 +0,0 @@ -export default { - preset: "ts-jest", - roots: ["/"], - testEnvironment: "jsdom", - moduleDirectories: ["node_modules", "../node_modules"], - setupFilesAfterEnv: ["/src/setupTests.ts"], - testPathIgnorePatterns: ["/node_modules/", "/dist/"], - transform: { - "^.+\\.(ts|tsx)?$": ["ts-jest", { isolatedModules: true, useESM: true }], - "^.+\\.(js|jsx)$": "babel-jest", - }, - globals: { - __PATH_PREFIX__: ``, - "ts-jest": { - babelConfig: { - presets: [ - ["@babel/preset-env", { targets: { node: "current" } }], - "@babel/preset-react", - ["@linaria/babel-preset", { evaluate: true, displayName: true }], - ], - }, - }, - }, -}; diff --git a/packages/core/jest.config.js b/packages/core/jest.config.js deleted file mode 100644 index 4a1afc9ec..000000000 --- a/packages/core/jest.config.js +++ /dev/null @@ -1,25 +0,0 @@ -export default { - preset: "ts-jest", - roots: ["/"], - testEnvironment: "jsdom", - moduleDirectories: ["node_modules", "../node_modules"], - setupFilesAfterEnv: ["/src/setupTests.ts"], - testPathIgnorePatterns: ["/node_modules/", "/dist/"], - transform: { - "^.+\\.[jt]sx?$": [ - "ts-jest", - { - isolatedModules: true, - useESM: true, - allowJs: true, - babelConfig: { - presets: [ - ["@babel/preset-env", { targets: { node: "current" } }], - "@babel/preset-react", - ["@linaria/babel-preset", { evaluate: true, displayName: true }], - ], - }, - }, - ], - }, -}; diff --git a/packages/source/jest.config.js b/packages/source/jest.config.js deleted file mode 100644 index ee337705d..000000000 --- a/packages/source/jest.config.js +++ /dev/null @@ -1,12 +0,0 @@ -export default { - preset: "ts-jest/presets/default-esm", - roots: ["/"], - testEnvironment: "jsdom", - moduleDirectories: ["node_modules", "../node_modules"], - setupFilesAfterEnv: ["/src/setupTests.ts"], - testPathIgnorePatterns: ["/node_modules/", "/dist/"], - transform: { - "^.+\\.(ts|tsx)?$": ["ts-jest", { isolatedModules: true, useESM: true }], - "^.+\\.(js|jsx)$": "babel-jest", - }, -};