chore: bump markdown e2e test wait period

This commit is contained in:
Evan You 2020-08-14 17:07:42 -04:00
parent cef97a162f
commit 9fb84187f0

View File

@ -18,7 +18,7 @@ describe('e2e: markdown', () => {
await page().type('textarea', '\n## foo\n\n- bar\n- baz')
// assert the output is not updated yet because of debounce
expect(await html('#editor div')).toBe('<h1 id="hello">hello</h1>\n')
await page().waitFor(100)
await page().waitFor(200)
expect(await html('#editor div')).toBe(
'<h1 id="hello">hello</h1>\n' +
'<h2 id="foo">foo</h2>\n' +