strict: Made strict mode explicit
This commit is contained in:
parent
33dc1ddf0c
commit
f4ec1a7376
3 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const util = require('util');
|
const util = require('util');
|
||||||
const fail = assert.fail;
|
const fail = assert.fail;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"description": "Core assert library extended slightly with few more assertion methods",
|
"description": "Core assert library extended slightly with few more assertion methods",
|
||||||
"main": "lib/assert.js",
|
"main": "lib/assert.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "env NODE_ENV=test mocha --recursive --use_strict"
|
"test": "env NODE_ENV=test mocha --recursive"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
||||||
const util = require('util');
|
const util = require('util');
|
||||||
const assertExtended = require('../lib/assert');
|
const assertExtended = require('../lib/assert');
|
||||||
|
|
Loading…
Reference in a new issue