()
| 22 | const transitionFinish = (time = duration) => timeout(time + buffer) |
| 23 | |
| 24 | const classWhenTransitionStart = () => |
| 25 | page().evaluate(() => { |
| 26 | ;(document.querySelector('#toggleBtn') as any)!.click() |
| 27 | return Promise.resolve().then(() => { |
| 28 | return document.querySelector('#container div')!.className.split(/\s+/g) |
| 29 | }) |
| 30 | }) |
| 31 | |
| 32 | beforeEach(async () => { |
| 33 | await reset() |
no test coverage detected