Skip to content

Commit

Permalink
modules share jest.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
olaven committed Jan 19, 2021
1 parent 91284bb commit 75b73df
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 15 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
],
"scripts": {
"build": "yarn workspaces run build",
"test": "yarn workspaces run test",
"api": "yarn workspace @paperpod/api",
"web": "yarn workspace @paperpod/web",
"authentication": "yarn workspace @paperpod/authentication",
Expand Down
4 changes: 0 additions & 4 deletions packages/api/jest.config.js

This file was deleted.

5 changes: 5 additions & 0 deletions packages/api/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = require("../../jest.config");

module.exports = {
...config
};
4 changes: 0 additions & 4 deletions packages/authentication/jest.config.js

This file was deleted.

5 changes: 5 additions & 0 deletions packages/authentication/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = require("../../jest.config");

module.exports = {
...config
};
7 changes: 0 additions & 7 deletions packages/common/jest.config.js

This file was deleted.

11 changes: 11 additions & 0 deletions packages/common/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const config = require("../../jest.config");

module.exports = {
...config,
testPathIgnorePatterns: [
...config.testPathIgnorePatterns,
"src/test/test.ts"
]
};


5 changes: 5 additions & 0 deletions packages/converter/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = require("../../jest.config");

module.exports = {
...config
};

0 comments on commit 75b73df

Please sign in to comment.