文件名称:jasmine_eventually:不维护-异步匹配,无需运行和waitsFor
文件大小:21KB
文件格式:ZIP
更新时间:2024-06-07 16:51:39
JavaScript
最终茉莉花 状态:未维护 没有runs和waitsFor异步匹配。 用法 describe ( 'jasmineEventually' , function ( ) { it ( 'allows to match asynchronously with implicit polling' , function ( ) { var spy = jasmine . createSpy ( ) ; setTimeout ( function ( ) { spy ( ) ; } , 100 ) ; expect ( spy ) . eventually . toHaveBeenCalled ( ) ; } ) ; } ) ; 相当于 describe ( 'jasmineEventually' , function ( ) { it (
【文件预览】:
jasmine_eventually-master
----src()
--------jasmine_eventually.js(1KB)
----test()
--------runner.html(799B)
--------eventually_spec.js(403B)
--------vendor()
----README.md(2KB)