Commit 97787085 authored by Bryce Johnson's avatar Bryce Johnson

Shush eslint.

parent e0453649
//= require jquery
//= require smart_interval
(() => {
const DEFAULT_MAX_INTERVAL = 100;
const DEFAULT_STARTING_INTERVAL = 5;
......@@ -89,7 +88,6 @@
setTimeout(() => {
interval.cancel();
const lastInterval = interval.getCurrentInterval();
interval.resume();
const intervalId = interval.state.intervalId;
......@@ -134,8 +132,6 @@
interval.state.pageVisibility = 'hidden';
interval.handleVisibilityChange();
const pausedIntervalLength = interval.getCurrentInterval();
expect(interval.state.intervalId).toBeUndefined();
// simulates triggering of visibilitychange event
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment