Sha256: cac06819619f28bce6994f4f395e83e0976adeb4a0825d89de3b05a89ff95635
Contents?: true
Size: 749 Bytes
Versions: 11
Compression:
Stored size: 749 Bytes
Contents
u = up.util $ = jQuery afterEach (done) -> # If the spec has installed the Jasmine clock, uninstall it so # the timeout below will actually happen. jasmine.clock().uninstall() # Most pending promises will wait for an animation to finish. promise = up.motion.finish() u.always promise, -> # Wait one more frame so pending callbacks have a chance to run. # Pending callbacks might change the URL or cause errors that bleed into # the next example. up.util.task => up.framework.reset() up.browser.popCookie(up.protocol.config.methodCookie) # Give async reset behavior another frame to play out, # then start the next example. up.util.task -> $('.up-toast').remove() done()
Version data entries
11 entries across 11 versions & 1 rubygems