Skip to content

Commit

Permalink
fix: null exception when browser fails to launch (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
devpow112 committed Feb 16, 2024
1 parent 3ebea50 commit 14b16eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/reporters/web-test-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ export function reporter(options = {}) {
};

const collectSuite = (session, prefix, suite) => {
if (!suite) {
return;
}

collectTests(session, prefix, suite.tests);

for (const childSuite of suite.suites) {
Expand Down

0 comments on commit 14b16eb

Please sign in to comment.