diff --git a/jest.config.ts b/jest.config.ts deleted file mode 100644 index d0dbd1b88..000000000 --- a/jest.config.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { getJestProjects } from '@nx/jest'; - -export default { - projects: getJestProjects(), -}; diff --git a/jest.preset.js b/jest.preset.js deleted file mode 100644 index f078ddcec..000000000 --- a/jest.preset.js +++ /dev/null @@ -1,3 +0,0 @@ -const nxPreset = require('@nx/jest/preset').default; - -module.exports = { ...nxPreset }; diff --git a/nx.json b/nx.json index 3f821c8cc..45e52df45 100644 --- a/nx.json +++ b/nx.json @@ -21,7 +21,7 @@ ] }, "test": { - "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"] + "inputs": ["default", "^production"] }, "e2e": { "dependsOn": ["^build"], @@ -35,7 +35,6 @@ "!{projectRoot}/.eslintrc.json", "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", "!{projectRoot}/tsconfig.spec.json", - "!{projectRoot}/jest.config.[jt]s", "!{projectRoot}/src/test-setup.[jt]s", "!{projectRoot}/test-setup.[jt]s", "!{projectRoot}/**/?(*.)mock.[jt]s?(x)", diff --git a/packages/core/README.md b/packages/core/README.md index 0b50a3b3e..102d7f4d3 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -1,11 +1,3 @@ # core -This library was generated with [Nx](https://nx.dev). - -## Building - -Run `nx build core` to build the library. - -## Running unit tests - -Run `nx test core` to execute the unit tests via [Jest](https://jestjs.io). +TODO: docs diff --git a/packages/core/tsconfig.lib.json b/packages/core/tsconfig.lib.json index 33eca2c2c..b1a2e0598 100644 --- a/packages/core/tsconfig.lib.json +++ b/packages/core/tsconfig.lib.json @@ -6,5 +6,11 @@ "types": ["node"] }, "include": ["src/**/*.ts"], - "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"] + "exclude": [ + "vite.config.ts", + "src/**/*.spec.ts", + "src/**/*.test.ts", + "src/**/*.mock.ts", + "test/**/*.ts" + ] } diff --git a/packages/nx-plugin/README.md b/packages/nx-plugin/README.md index 1dcb4c951..dede31037 100644 --- a/packages/nx-plugin/README.md +++ b/packages/nx-plugin/README.md @@ -1,11 +1,3 @@ # nx-plugin -This library was generated with [Nx](https://nx.dev). - -## Building - -Run `nx build nx-plugin` to build the library. - -## Running unit tests - -Run `nx test nx-plugin` to execute the unit tests via [Jest](https://jestjs.io). +TODO: docs