strict: Made strict mode explicit

This commit is contained in:
Jonatan Nilsson 2016-02-24 10:07:34 +00:00
parent 33dc1ddf0c
commit f4ec1a7376
3 changed files with 5 additions and 1 deletions

View file

@ -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;

View file

@ -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",

View file

@ -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');