FIX: Allow qunit tests to run in browser by stubbing new functionality

This commit is contained in:
Robin Ward
2015-09-09 16:20:08 -04:00
parent bc52b72145
commit 3ceadbd5b8
4 changed files with 15 additions and 2 deletions

View File

@@ -105,6 +105,7 @@ QUnit.testStart(function(ctx) {
PreloadStore.reset();
window.sandbox = sinon.sandbox.create();
window.sandbox.stub(ScrollingDOMMethods, "screenNotFull");
window.sandbox.stub(ScrollingDOMMethods, "bindOnScroll");
window.sandbox.stub(ScrollingDOMMethods, "unbindOnScroll");