From 414b8c022ad7ae932388d9876f78d9195ccdb027 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sat, 1 Apr 2017 18:49:18 +0700 Subject: [PATCH] Bump dependencies --- package.json | 5 +++-- test/environment.js | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bdb2622b..2ce48674 100644 --- a/package.json +++ b/package.json @@ -56,8 +56,9 @@ "matcha": "^0.7.0", "mocha": "^3.2.0", "shelljs": "^0.7.0", - "sinon": "^1.9.1", - "xo": "^0.17.1", + "sinon": "^2.1.0", + "sinon-test": "^1.0.1", + "xo": "^0.18.1", "yeoman-assert": "^3.0.0", "yeoman-generator": "^1.1.0" }, diff --git a/test/environment.js b/test/environment.js index 96108327..2fd71b30 100644 --- a/test/environment.js +++ b/test/environment.js @@ -4,11 +4,15 @@ const fs = require('fs'); const path = require('path'); const util = require('util'); const sinon = require('sinon'); +const sinonTest = require('sinon-test'); const Generator = require('yeoman-generator'); const assert = require('yeoman-assert'); const TerminalAdapter = require('../lib/adapter'); const Environment = require('../lib/environment'); +sinon.test = sinonTest.configureTest(sinon); +sinon.testCase = sinonTest.configureTestCase(sinon); + describe('Environment', () => { beforeEach(function () { this.env = new Environment([], {'skip-install': true});