mirror of
https://github.com/liriliri/eruda.git
synced 2026-02-02 09:49:00 +08:00
16 lines
349 B
JavaScript
16 lines
349 B
JavaScript
describe('network', function() {
|
|
beforeEach(function() {
|
|
eruda.show('network')
|
|
})
|
|
|
|
describe('request', function() {
|
|
it('xhr', function(done) {
|
|
$('.eruda-clear-xhr').click()
|
|
util.ajax.get(window.location.toString(), function() {
|
|
expect($('.eruda-requests li')).toHaveLength(1)
|
|
done()
|
|
})
|
|
})
|
|
})
|
|
})
|