Skip to content

Commit

Permalink
chore: removed unused Jest-related configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
matejchalk committed Oct 12, 2023
1 parent 91176fe commit c660ca7
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 29 deletions.
5 changes: 0 additions & 5 deletions jest.config.ts

This file was deleted.

3 changes: 0 additions & 3 deletions jest.preset.js

This file was deleted.

3 changes: 1 addition & 2 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
]
},
"test": {
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"]
"inputs": ["default", "^production"]
},
"e2e": {
"dependsOn": ["^build"],
Expand All @@ -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)",
Expand Down
10 changes: 1 addition & 9 deletions packages/core/README.md
Original file line number Diff line number Diff line change
@@ -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
8 changes: 7 additions & 1 deletion packages/core/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
10 changes: 1 addition & 9 deletions packages/nx-plugin/README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c660ca7

Please sign in to comment.