16fb2bb919
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
6 lines
176 B
JavaScript
6 lines
176 B
JavaScript
export default function then(callback, delay = 100) {
|
|
setTimeout(callback, jasmine.THEN_DELAY);
|
|
jasmine.THEN_DELAY += delay;
|
|
}
|
|
|
|
beforeEach(() => (jasmine.THEN_DELAY = 0));
|