open-consul/ui-v2/tests/unit/utils/dom
John Cowen 45a2fa5a01 UI: Add blocking cursor validation and more straightforward throttle (#5470)
More recommendations for blocking queries clients was added here:

https://github.com/hashicorp/consul/pull/5358

This commit mainly adds cursor/index validation/correction based on
these recommendations (plus tests)

The recommendations also suggest that clients should include rate
limiting. Because of this, we've moved the throttling out of Consul UI
specific code and into Blocking Query specific code. Currently the 'rate
limiting' in this commit only adds a sleep to every iteration of the
loop, which is not the recommended approach, but the code here organizes
the throttling functionality into something we can work with later to
provide something more apt.
2019-05-01 18:22:21 +00:00
..
event-source UI: Add blocking cursor validation and more straightforward throttle (#5470) 2019-05-01 18:22:21 +00:00
event-target UI: Add EventSource ready for implementing blocking queries (#5070) 2019-05-01 18:22:06 +00:00
click-first-anchor-test.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
closest-test.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
create-listeners-test.js ui: Async Search (#4859) 2019-05-01 18:21:34 +00:00
get-component-factory-test.js UI: dom usage refactoring (#4924) 2019-05-01 18:21:40 +00:00
normalize-event-test.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
qsa-factory-test.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
sibling-test.js UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00