diff --git a/package.json b/package.json index 661b6d50d..0de2bff0d 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,6 @@ }, "devDependencies": { "browserify": "^10.2.3", - "chai": "^2.3.0", - "chai-jquery": "^2.0.0", "coffee-script": "^1.9.3", "coffeelint": "^1.10.1", "karma": "^0.12.35", @@ -43,9 +41,7 @@ "karma-phantomjs-launcher": "^0.2.0", "karma-spec-reporter": "0.0.19", "mocha": "^2.2.5", - "phantomjs": "^1.9.17", - "sinon": "^1.14.1", - "sinon-chai": "^2.7.0" + "phantomjs": "^1.9.17" }, "license": "MIT" } diff --git a/test/spec/RTCSpec.coffee b/test/spec/RTCSpec.coffee index b6e7293ca..bf7208844 100644 --- a/test/spec/RTCSpec.coffee +++ b/test/spec/RTCSpec.coffee @@ -27,9 +27,6 @@ describe 'RTC', -> # EventEmitter: -> # on: sandbox.stub() - afterEach -> - sandbox.restore() - RTC = require('../../modules/RTC/RTC.js', { 'events': mock.events './RTCUtils.js': -> @@ -44,6 +41,9 @@ describe 'RTC', -> '../../service/UI/UIEvents': -> }) + afterEach -> + sandbox.restore() + describe 'init', -> props =