Skip to content

Commit

Permalink
chore: consolidate mocha configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
fryorcraken committed Feb 10, 2023
1 parent ceb56e5 commit 5210194
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 36 deletions.
File renamed without changes.
10 changes: 1 addition & 9 deletions packages/core/.mocharc.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 1 addition & 9 deletions packages/enr/.mocharc.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 1 addition & 9 deletions packages/message-encryption/.mocharc.json
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 1 addition & 9 deletions packages/tests/.mocharc.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 5210194

Please sign in to comment.