Fix flaky test (#932)
This commit is contained in:
parent
362b0c601a
commit
a60f770832
|
@ -137,6 +137,8 @@ describe('components/cardDetail/cardDetailContents', () => {
|
||||||
textarea!.dispatchEvent(onBlurEvent)
|
textarea!.dispatchEvent(onBlurEvent)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// TODO: Remove this hack if we get rid of codemirror/simpleMDE.
|
||||||
|
await new Promise((r) => setTimeout(r, 100))
|
||||||
expect(container).toMatchSnapshot()
|
expect(container).toMatchSnapshot()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user