Skip to content
This repository was archived by the owner on Feb 4, 2018. It is now read-only.

Commit f6d4675

Browse files
author
blond
committed
chore(deprecation): turn off deprecation for tests
1 parent 5a2840c commit f6d4675

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,12 +368,12 @@ Deprecation is performed with [depd](https://github.com/dougwilson/nodejs-depd).
368368

369369
To silencing deprecation warnings from being output use the `NO_DEPRECATION` environment variable.
370370

371-
> More [details](https://github.com/dougwilson/nodejs-depd#processenvno_deprecation) in `depd` documentation
372-
373371
```
374372
NO_DEPRECATION=@bem/entity-name node app.js
375373
```
376374

375+
> More [details](https://github.com/dougwilson/nodejs-depd#processenvno_deprecation) in `depd` documentation
376+
377377
License
378378
-------
379379

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
},
5353
"scripts": {
5454
"pretest": "npm run lint",
55-
"test": "nyc ava",
55+
"test": "NO_DEPRECATION=@bem/entity-name nyc ava",
5656
"lint": "npm run lint:js && npm run lint:dts",
5757
"lint:js": "eslint .",
5858
"lint:dts": "tslint **.d.ts",

0 commit comments

Comments
 (0)