Skip to content

Commit

Permalink
test: modernize mocha config (#221)
Browse files Browse the repository at this point in the history
* test: modernize mocha config

* Update package.json

* addy

* test: updated baselines

Co-authored-by: Summer Ji <[email protected]>
Co-authored-by: Benjamin E. Coe <[email protected]>
Co-authored-by: Alexander Fenster <[email protected]>
  • Loading branch information
4 people authored Feb 3, 2020
1 parent 245deef commit c74d31e
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
}
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,8 @@
"codecov": "^3.6.1",
"espower-typescript": "^9.0.0",
"gts": "^1.0.0",
"intelli-espower-loader": "^1.0.1",
"mocha": "^7.0.0",
"ncp": "^2.0.0",
"power-assert": "^1.6.0",
"rimraf": "^3.0.0",
"typescript": "~3.7.0"
},
Expand Down
5 changes: 5 additions & 0 deletions templates/typescript_gapic/.mocharc.json.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
}
4 changes: 0 additions & 4 deletions typescript/test/mocha.opts

This file was deleted.

5 changes: 5 additions & 0 deletions typescript/test/testdata/dlp/.mocharc.json.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
}
5 changes: 5 additions & 0 deletions typescript/test/testdata/keymanager/.mocharc.json.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
}
5 changes: 5 additions & 0 deletions typescript/test/testdata/redis/.mocharc.json.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
}
5 changes: 5 additions & 0 deletions typescript/test/testdata/showcase/.mocharc.json.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
}
5 changes: 5 additions & 0 deletions typescript/test/testdata/texttospeech/.mocharc.json.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
}
5 changes: 5 additions & 0 deletions typescript/test/testdata/translate/.mocharc.json.baseline
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000
}

0 comments on commit c74d31e

Please sign in to comment.