Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hswolff committed Apr 2, 2016
1 parent d6f27a9 commit 8f41438
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion test/e2e/yarn.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ describe('yarn Yarn', function() {
it('instantiates correctly', function() {
sandbox.spy(Yarn.prototype, 'updateConfig');
sandbox.spy(Config.prototype, 'setRoot');
sandbox.spy(Config.prototype, 'on');
sandbox.spy(Theme.prototype, 'setGetConfig');

let instance = new Yarn({
Expand Down
3 changes: 0 additions & 3 deletions test/unit/config/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import assert from 'power-assert';
import sinon from 'sinon';
import path from 'path';
import {EventEmitter} from 'events';
import each from 'lodash/each';

import fixture from '../../fixture';
Expand All @@ -27,7 +26,6 @@ describe('config/index Config', () => {
let instance = new Config();

assert.ok(instance);
assert(instance instanceof EventEmitter);
assert(typeof instance._raw === 'object');

assert(instance.loadLocal.calledOnce === false);
Expand All @@ -43,7 +41,6 @@ describe('config/index Config', () => {

let instance = new Config();
instance._root = root;
sinon.spy(instance, 'emit');

// Restore original update so we can actual test its behavior.
instance.update.restore();
Expand Down

0 comments on commit 8f41438

Please sign in to comment.