Skip to content

Commit

Permalink
refactor(test): use global instead of GLOBAL
Browse files Browse the repository at this point in the history
Closes #249
  • Loading branch information
luin committed Feb 8, 2016
1 parent 90162c8 commit 7e46cd2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/helpers/global.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use strict';

GLOBAL.expect = require('chai').expect;
global.expect = require('chai').expect;

var sinon = require('sinon');
GLOBAL.stub = sinon.stub.bind(sinon);
global.stub = sinon.stub.bind(sinon);

GLOBAL.Redis = require('../..');
GLOBAL.MockServer = require('./mock_server');
global.Redis = require('../..');
global.MockServer = require('./mock_server');

afterEach(function (done) {
var redis = new Redis();
Expand Down

0 comments on commit 7e46cd2

Please sign in to comment.