Skip to content

Commit

Permalink
fix: don't serialize listener calls in emit
Browse files Browse the repository at this point in the history
`Executor#emit` waits for listeners to resolve, which allows Intern to
stay in sync with event processing code. However, calls to individual
listeners don't need to wait on each other. This can cause event
handlers to become interleaved (e.g., a `testStart` handler might be
called before a `testEnd` handler for the previous test had been
called.)

references #1054
resolves #1124
  • Loading branch information
jason0x43 committed Apr 1, 2020
1 parent 9df7b87 commit 350c252
Show file tree
Hide file tree
Showing 2 changed files with 219 additions and 224 deletions.

0 comments on commit 350c252

Please sign in to comment.