Skip to content

Commit eda3df2

Browse files
committed
test: load mocha config from package.json
1 parent fb1d116 commit eda3df2

File tree

22 files changed

+77
-67
lines changed

22 files changed

+77
-67
lines changed

packages/metascraper-amazon/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
"test": "NODE_PATH=.. TZ=UTC NODE_ENV=test mocha test"
3737
},
3838
"license": "MIT",
39+
"mocha": {
40+
"bail": true,
41+
"recursive": true,
42+
"reporter": "spec",
43+
"slow": 300,
44+
"timeout": "120000"
45+
},
3946
"standard": {
4047
"env": [
4148
"mocha"

packages/metascraper-amazon/test/mocha.opts

-6
This file was deleted.

packages/metascraper-audio/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
"test": "NODE_PATH=.. TZ=UTC NODE_ENV=test mocha test"
3636
},
3737
"license": "MIT",
38+
"mocha": {
39+
"bail": true,
40+
"recursive": true,
41+
"reporter": "spec",
42+
"slow": 300,
43+
"timeout": "120000"
44+
},
3845
"standard": {
3946
"env": [
4047
"mocha"

packages/metascraper-audio/test/mocha.opts

-6
This file was deleted.

packages/metascraper-lang/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@
3434
"test": "NODE_PATH=.. TZ=UTC NODE_ENV=test mocha test"
3535
},
3636
"license": "MIT",
37+
"mocha": {
38+
"bail": true,
39+
"recursive": true,
40+
"reporter": "spec",
41+
"slow": 300,
42+
"timeout": "120000"
43+
},
3744
"standard": {
3845
"env": [
3946
"mocha"

packages/metascraper-lang/test/mocha.opts

-6
This file was deleted.

packages/metascraper-logo-favicon/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
"test": "NODE_PATH=.. TZ=UTC NODE_ENV=test mocha test"
3737
},
3838
"license": "MIT",
39+
"mocha": {
40+
"bail": true,
41+
"recursive": true,
42+
"reporter": "spec",
43+
"slow": 300,
44+
"timeout": "120000"
45+
},
3946
"standard": {
4047
"env": [
4148
"mocha"

packages/metascraper-logo-favicon/test/mocha.opts

-6
This file was deleted.

packages/metascraper-media-provider/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@
4646
"test": "NODE_PATH=.. TZ=UTC DEBUG=metascraper-media-provider:test* NODE_ENV=test mocha test"
4747
},
4848
"license": "MIT",
49+
"mocha": {
50+
"bail": true,
51+
"recursive": true,
52+
"reporter": "spec",
53+
"slow": 300,
54+
"timeout": "120000"
55+
},
4956
"standard": {
5057
"env": [
5158
"mocha"

packages/metascraper-media-provider/test/mocha.opts

-7
This file was deleted.

packages/metascraper-soundcloud/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
"test": "NODE_PATH=.. TZ=UTC NODE_ENV=test mocha test"
3737
},
3838
"license": "MIT",
39+
"mocha": {
40+
"bail": true,
41+
"recursive": true,
42+
"reporter": "spec",
43+
"slow": 300,
44+
"timeout": "120000"
45+
},
3946
"standard": {
4047
"env": [
4148
"mocha"

packages/metascraper-soundcloud/test/mocha.opts

-6
This file was deleted.

packages/metascraper-spotify/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@
4040
"test": "NODE_PATH=.. TZ=UTC NODE_ENV=test mocha test"
4141
},
4242
"license": "MIT",
43+
"mocha": {
44+
"bail": true,
45+
"recursive": true,
46+
"reporter": "spec",
47+
"slow": 300,
48+
"timeout": "120000"
49+
},
4350
"standard": {
4451
"env": [
4552
"mocha"

packages/metascraper-spotify/test/mocha.opts

-6
This file was deleted.

packages/metascraper-uol/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@
3838
"test": "NODE_PATH=.. TZ=UTC NODE_ENV=test mocha test"
3939
},
4040
"license": "MIT",
41+
"mocha": {
42+
"bail": true,
43+
"recursive": true,
44+
"reporter": "spec",
45+
"slow": 300,
46+
"timeout": "120000"
47+
},
4148
"standard": {
4249
"env": [
4350
"mocha"

packages/metascraper-uol/test/mocha.opts

-6
This file was deleted.

packages/metascraper-video/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
"test": "NODE_PATH=.. TZ=UTC NODE_ENV=test mocha test"
3636
},
3737
"license": "MIT",
38+
"mocha": {
39+
"bail": true,
40+
"recursive": true,
41+
"reporter": "spec",
42+
"slow": 300,
43+
"timeout": "120000"
44+
},
3845
"standard": {
3946
"env": [
4047
"mocha"

packages/metascraper-video/test/mocha.opts

-6
This file was deleted.

packages/metascraper-youtube/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@
3838
"test": "NODE_PATH=.. TZ=UTC NODE_ENV=test mocha test"
3939
},
4040
"license": "MIT",
41+
"mocha": {
42+
"bail": true,
43+
"recursive": true,
44+
"reporter": "spec",
45+
"slow": 300,
46+
"timeout": "120000"
47+
},
4148
"standard": {
4249
"env": [
4350
"mocha"

packages/metascraper-youtube/test/mocha.opts

-6
This file was deleted.

packages/metascraper/package.json

+7
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@
8484
"test": "NODE_PATH=.. TZ=UTC NODE_ENV=test nyc mocha test"
8585
},
8686
"license": "MIT",
87+
"mocha": {
88+
"bail": true,
89+
"recursive": true,
90+
"reporter": "spec",
91+
"slow": 300,
92+
"timeout": "120000"
93+
},
8794
"standard": {
8895
"env": [
8996
"mocha"

packages/metascraper/test/mocha.opts

-6
This file was deleted.

0 commit comments

Comments
 (0)