fix: test

This commit is contained in:
redhoodsu
2025-05-07 14:07:06 +08:00
parent 0c8c4fdf14
commit ea292ae35f

View File

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