1
0
mirror of synced 2025-11-06 04:21:11 +08:00
Files
eruda/test/network.js
redhoodsu ea292ae35f fix: test
2025-05-07 14:07:06 +08:00

18 lines
425 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 () {
setTimeout(function () {
expect($('.eruda-requests .luna-data-grid-node')).toHaveLength(1)
done()
}, 500)
})
})
})
})