Skip to content

Commit

Permalink
polyfill deepStrictEqual for older node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Mrak committed Oct 14, 2016
1 parent 99c80c2 commit 4251c12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/global.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
'use strict';

var sinon = require('sinon');
var assert = require('assert');

if (!assert.deepStrictEqual) {
assert.deepStrictEqual = assert.deepEqual;
}

beforeEach(function () {
this.sandbox = sinon.sandbox.create();
Expand Down

0 comments on commit 4251c12

Please sign in to comment.