jasmine-node
Version:
DOM-less simple JavaScript BDD testing framework for Node
12 lines (9 loc) • 391 B
text/coffeescript
#=============================================================================
# Async spec, that will be time outed
#=============================================================================
describe 'async', ->
it 'should be timed out', ->
waitsFor (-> false), 'MIRACLE', 500
doneFunc = (done) ->
setTimeout(done, 10000)
it "should timeout after 100 ms", doneFunc, 100