Skip to content

Commit

Permalink
test_runner: rebase and refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
sankalp1999 committed May 25, 2023
1 parent f4e13b5 commit d4b38f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/test_runner/tests_stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class TestsStream extends Readable {
}
}

begin(nesting, file, testNumber, name, details, directive) {
this.#emit('test:lifecycle:run', { __proto__: null, name, nesting, file, testNumber, details, ...directive });
begin(nesting, file, testNumber, name, details) {
this[kEmitMessage]('test:lifecycle:run', { __proto__: null, name, nesting, file, testNumber, details });
}

fail(nesting, file, testNumber, name, details, directive) {
Expand Down

0 comments on commit d4b38f6

Please sign in to comment.