Skip to content

Commit

Permalink
chore(test): silence plugin warning from test (#4173)
Browse files Browse the repository at this point in the history
  • Loading branch information
misteroneill authored and gkatsev committed Mar 7, 2017
1 parent bf787bd commit 05e6494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/plugin-static.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ QUnit.test('registerPlugin() illegal arguments', function(assert) {
'plugins must be functions'
);

sinon.spy(log, 'warn');
sinon.stub(log, 'warn');
Plugin.registerPlugin('foo', function() {});
Plugin.registerPlugin('foo', function() {});
assert.strictEqual(log.warn.callCount, 1, 'warn on re-registering a plugin');
Expand Down

0 comments on commit 05e6494

Please sign in to comment.