Files
eruda/test/network.js
2018-08-20 16:45:35 +08:00

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()
})
})
})
})