Skip to content

Commit

Permalink
test: lower waitForNewSelection timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhg committed Dec 19, 2024
1 parent b07f462 commit 763b5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/gherkin-tests/gherkin-step-definitions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ export const waitForNewSelection = async (
changeFn: () => Promise<void>,
) => {
await changeFn()
await new Promise((resolve) => setTimeout(resolve, 100))
await new Promise((resolve) => setTimeout(resolve, 50))
}

export async function putCaretBeforeText(editor: EditorContext, text: string) {
Expand Down

0 comments on commit 763b5b4

Please sign in to comment.