web
web copied to clipboard
fix(summaryReporter): fix report for nested suites
Fixes https://github.com/modernweb-dev/web/issues/2810
What I did
- Add support for nested TestSuites
- Print TestSuite names (including root)
- Print log when test file has no test defined
- Add Unit tests
- Minor code formatting and function renaming to better reflect logging functionality
Examples after change
Results when no root suite is defined:
-
Regular:
-
Flatten:
Results when root suite is defined:
-
Regular:
-
Flatten:
PS: extra indentation on failed test is associated to the usage of "aegean check mark (U+10102)". Not sure if working as expected or bug. I left is AS-IS.
🦋 Changeset detected
Latest commit: ea160ac8362ed2e4c103eab87c07b214e2670e01
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 2 packages
| Name | Type |
|---|---|
| @web/test-runner-mocha | Minor |
| @web/test-runner | Minor |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR