Skip to content

Commit 2295118

Browse files
Juanjamestalmage
Juan
authored andcommitted
Add strict mode in enhanced-assert.js (#741)
1 parent bd41779 commit 2295118

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/enhance-assert.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
module.exports = enhanceAssert;
24
module.exports.formatter = formatter;
35

@@ -40,8 +42,6 @@ function enhanceAssert(opts) {
4042
}
4143
);
4244

43-
enhanced.AssertionError = opts.assert.AssertionError;
44-
4545
return enhanced;
4646
}
4747

0 commit comments

Comments
 (0)