mirror of
https://github.com/liriliri/eruda.git
synced 2026-02-02 09:49:00 +08:00
fix: test
This commit is contained in:
@@ -7,8 +7,10 @@ describe('network', function () {
|
||||
it('xhr', function (done) {
|
||||
$('.eruda-clear-xhr').click()
|
||||
util.ajax.get(window.location.toString(), function () {
|
||||
expect($('.eruda-requests .luna-data-grid-node')).toHaveLength(1)
|
||||
done()
|
||||
setTimeout(function () {
|
||||
expect($('.eruda-requests .luna-data-grid-node')).toHaveLength(1)
|
||||
done()
|
||||
}, 500)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user