diff --git a/packages/peer-exchange/.mocharc.json b/.mocharc.json similarity index 100% rename from packages/peer-exchange/.mocharc.json rename to .mocharc.json diff --git a/packages/core/.mocharc.json b/packages/core/.mocharc.json index 8b0b97b620..40f903ed2d 100644 --- a/packages/core/.mocharc.json +++ b/packages/core/.mocharc.json @@ -1,11 +1,3 @@ { - "extension": ["ts"], - "spec": "src/**/*.spec.ts", - "require": ["ts-node/register", "isomorphic-fetch"], - "loader": "ts-node/esm", - "node-option": [ - "experimental-specifier-resolution=node", - "loader=ts-node/esm" - ], - "exit": true + "extends": "../../.mocharc.json" } diff --git a/packages/enr/.mocharc.json b/packages/enr/.mocharc.json index 8b0b97b620..40f903ed2d 100644 --- a/packages/enr/.mocharc.json +++ b/packages/enr/.mocharc.json @@ -1,11 +1,3 @@ { - "extension": ["ts"], - "spec": "src/**/*.spec.ts", - "require": ["ts-node/register", "isomorphic-fetch"], - "loader": "ts-node/esm", - "node-option": [ - "experimental-specifier-resolution=node", - "loader=ts-node/esm" - ], - "exit": true + "extends": "../../.mocharc.json" } diff --git a/packages/message-encryption/.mocharc.json b/packages/message-encryption/.mocharc.json index 8b0b97b620..40f903ed2d 100644 --- a/packages/message-encryption/.mocharc.json +++ b/packages/message-encryption/.mocharc.json @@ -1,11 +1,3 @@ { - "extension": ["ts"], - "spec": "src/**/*.spec.ts", - "require": ["ts-node/register", "isomorphic-fetch"], - "loader": "ts-node/esm", - "node-option": [ - "experimental-specifier-resolution=node", - "loader=ts-node/esm" - ], - "exit": true + "extends": "../../.mocharc.json" } diff --git a/packages/tests/.mocharc.json b/packages/tests/.mocharc.json index d91946c57a..40f903ed2d 100644 --- a/packages/tests/.mocharc.json +++ b/packages/tests/.mocharc.json @@ -1,11 +1,3 @@ { - "extension": ["ts"], - "spec": "tests/*.spec.ts", - "require": ["ts-node/register", "isomorphic-fetch"], - "loader": "ts-node/esm", - "node-option": [ - "experimental-specifier-resolution=node", - "loader=ts-node/esm" - ], - "exit": true + "extends": "../../.mocharc.json" }