You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I run the grunt test:browser test, only 1 test failed, it's the src/ui/public/debounce/__tests__/debounce.js:
describe('cancel',function(){it('should cancel the $timeout',function(){varcancelSpy=sinon.spy($timeout,'cancel');varbouncer=debounce(spy,100);bouncer();bouncer.cancel();expect(cancelSpy.callCount).to.be(1);$timeout.verifyNoPendingTasks();// throws if pending timeouts});});
This is the test result:
Chrome 46.0.2490 (Mac OS X 10.10.5): Executed Chrome 46.0.2490 (Mac OS X 10.10.5) debounce service cancel should cancel the $timeout FAILED
Error: Deferred tasks to flush (1): {id: 0, time: 0}
at Function.$delegate.verifyNoPendingTasks (http://localhost:5610/bundles/tests.bundle.js:190735:14)
at Context.<anonymous> (http://localhost:5610/bundles/tests.bundle.js:272475:17)
Chrome 46.0.2490 (Mac OS X 10.10.5): Executed Chrome 46.0.2490 (Mac OS X 10.10.5): Executed 1 of 1 (1 FAILED) ERROR (0.174 secs / 0.012 secs)
Could someone help me? Thanks.
The text was updated successfully, but these errors were encountered:
Hi all,
I run the
grunt test:browser
test, only 1 test failed, it's thesrc/ui/public/debounce/__tests__/debounce.js
:This is the test result:
Could someone help me? Thanks.
The text was updated successfully, but these errors were encountered: