mirror of
https://github.com/videojs/video.js.git
synced 2025-02-02 11:34:50 +02:00
chore(test): silence plugin warning from test (#4173)
This commit is contained in:
parent
bf787bd5cc
commit
05e64948c5
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user