Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor development-logs removing duplicated code. (#28049)
Hi, this is small refactor for the development-logs.js test. The same code to verify the browser logs is written 3 times. Actually, the only difference is the path and then the expect result to confirm whether the logs are showing or not. Moved the triplicated code to a `getLogs$(path)` and matched the expect results.
- Loading branch information
1 parent
0479477
commit f95e5fd
Showing
1 changed file
with
27 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters