diff --git a/jest.config.js b/jest.config.js index 9aa246179f..80da2bce34 100644 --- a/jest.config.js +++ b/jest.config.js @@ -13,7 +13,8 @@ module.exports = { clearMocks: true, testTimeout: 300000, testPathIgnorePatterns: [ - '__sanity__' + '__sanity__', + '__defid__' ], coveragePathIgnorePatterns: [ '/node_modules/', diff --git a/jest.defid.js b/jest.defid.js new file mode 100644 index 0000000000..87b8f48637 --- /dev/null +++ b/jest.defid.js @@ -0,0 +1,8 @@ +const config = require('./jest.config.js') + +module.exports = { + ...config, + testRegex: '((\\.|/)(defid))\\.ts$', + testPathIgnorePatterns: [], + testTimeout: 300000 +} diff --git a/package.json b/package.json index 68d427b890..2b6a47679c 100644 --- a/package.json +++ b/package.json @@ -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",