Skip to content

Commit

Permalink
jest.defid.js
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Jan 31, 2024
1 parent 5aded11 commit 101ddb2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ module.exports = {
clearMocks: true,
testTimeout: 300000,
testPathIgnorePatterns: [
'__sanity__'
'__sanity__',
'__defid__'
],
coveragePathIgnorePatterns: [
'/node_modules/',
Expand Down
8 changes: 8 additions & 0 deletions jest.defid.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const config = require('./jest.config.js')

module.exports = {
...config,
testRegex: '((\\.|/)(defid))\\.ts$',
testPathIgnorePatterns: [],
testTimeout: 300000
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"compile": "hardhat compile",
"test": "jest --maxWorkers=100%",
"sanity": "jest --maxWorkers=100% --config=jest.sanity.js",
"defid": "jest --maxWorkers=100% --config=jest.defid.js",
"ci:test": "jest --ci --coverage --forceExit --maxWorkers=4",
"all:clean": "rm -rf ./packages/**/dist && rm -rf ./apps/dist && rm -rf ./packages/**/tsconfig.build.tsbuildinfo",
"all:build": "lerna run build",
Expand Down

0 comments on commit 101ddb2

Please sign in to comment.