-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
π Fix sdk-utils test helper log capture #920
Merged
Merged
Conversation
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
Robdel12
approved these changes
May 9, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π
kodiakhq bot
referenced
this pull request
in carbon-design-system/carbon-for-ibm-dotcom
May 24, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@percy/cli](https://togithub.com/percy/cli) | [`~1.1.0` -> `~1.2.0`](https://renovatebot.com/diffs/npm/@percy%2fcli/1.1.0/1.2.1) | [![age](https://badges.renovateapi.com/packages/npm/@percy%2fcli/1.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@percy%2fcli/1.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@percy%2fcli/1.2.1/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@percy%2fcli/1.2.1/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | | [@percy/dom](https://togithub.com/percy/cli) | [`~1.1.0` -> `~1.2.0`](https://renovatebot.com/diffs/npm/@percy%2fdom/1.1.0/1.2.1) | [![age](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.2.1/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@percy%2fdom/1.2.1/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | | [@percy/sdk-utils](https://togithub.com/percy/cli) | [`~1.1.0` -> `~1.2.0`](https://renovatebot.com/diffs/npm/@percy%2fsdk-utils/1.1.0/1.2.1) | [![age](https://badges.renovateapi.com/packages/npm/@percy%2fsdk-utils/1.2.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@percy%2fsdk-utils/1.2.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@percy%2fsdk-utils/1.2.1/compatibility-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@percy%2fsdk-utils/1.2.1/confidence-slim/1.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>percy/cli</summary> ### [`v1.2.1`](https://togithub.com/percy/cli/releases/tag/v1.2.1) [Compare Source](https://togithub.com/percy/cli/compare/v1.2.0...v1.2.1) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### π Bug Fixes - π Fix sitemap xml parsing regex (stop when the lookahead matches) by [@​Robdel12](https://togithub.com/Robdel12) in [https://github.com/percy/cli/pull/928](https://togithub.com/percy/cli/pull/928) **Full Changelog**: percy/cli@v1.2.0...v1.2.1 ### [`v1.2.0`](https://togithub.com/percy/cli/releases/tag/v1.2.0) [Compare Source](https://togithub.com/percy/cli/compare/v1.1.4...v1.2.0) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### β¨ Enhancements - β¨ Add additional snapshot command exec helpers by [@​wwilsman](https://togithub.com/wwilsman) in [https://github.com/percy/cli/pull/922](https://togithub.com/percy/cli/pull/922) ##### π Bug Fixes - π Fix regex matching accepting non-regex patterns by [@​wwilsman](https://togithub.com/wwilsman) in [https://github.com/percy/cli/pull/923](https://togithub.com/percy/cli/pull/923) ##### β¬οΈβ¬οΈ Dependency Updates - β¬οΈ Bump karma from 6.3.19 to 6.3.20 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/927](https://togithub.com/percy/cli/pull/927) - β¬οΈ Bump yaml from 2.0.1 to 2.1.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/925](https://togithub.com/percy/cli/pull/925) - β¬οΈ Bump karma-jasmine from 5.0.0 to 5.0.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/926](https://togithub.com/percy/cli/pull/926) **Full Changelog**: percy/cli@v1.1.4...v1.2.0 ### [`v1.1.4`](https://togithub.com/percy/cli/releases/tag/v1.1.4) [Compare Source](https://togithub.com/percy/cli/compare/v1.1.3...v1.1.4) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### π Bug Fixes - π Request fonts as binary via Node by [@​Robdel12](https://togithub.com/Robdel12) in [https://github.com/percy/cli/pull/921](https://togithub.com/percy/cli/pull/921) **Full Changelog**: percy/cli@v1.1.3...v1.1.4 ### [`v1.1.3`](https://togithub.com/percy/cli/releases/tag/v1.1.3) [Compare Source](https://togithub.com/percy/cli/compare/v1.1.2...v1.1.3) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### π Bug Fixes - π Fix sdk-utils test helper log capture by [@​wwilsman](https://togithub.com/wwilsman) in [https://github.com/percy/cli/pull/920](https://togithub.com/percy/cli/pull/920) ##### β¬οΈβ¬οΈ Dependency Updates - β¬οΈ Bump path-to-regexp from 6.2.0 to 6.2.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/919](https://togithub.com/percy/cli/pull/919) - β¬οΈ Bump rollup from 2.71.1 to 2.72.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/918](https://togithub.com/percy/cli/pull/918) **Full Changelog**: percy/cli@v1.1.2...v1.1.3 ### [`v1.1.2`](https://togithub.com/percy/cli/releases/tag/v1.1.2) [Compare Source](https://togithub.com/percy/cli/compare/v1.1.1...v1.1.2) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### π Bug Fixes - π Fix logger TTY logic for logging progress by [@​wwilsman](https://togithub.com/wwilsman) in [https://github.com/percy/cli/pull/917](https://togithub.com/percy/cli/pull/917) **Full Changelog**: percy/cli@v1.1.1...v1.1.2 ### [`v1.1.1`](https://togithub.com/percy/cli/releases/tag/v1.1.1) [Compare Source](https://togithub.com/percy/cli/compare/v1.1.0...v1.1.1) <!-- Release notes generated using configuration in .github/release.yml at master --> #### What's Changed ##### π Bug Fixes - π Rollback sdk-utils to commonjs for broader compatibility by [@​wwilsman](https://togithub.com/wwilsman) in [https://github.com/percy/cli/pull/916](https://togithub.com/percy/cli/pull/916) ##### β¬οΈβ¬οΈ Dependency Updates - β¬οΈ Bump karma from 6.3.18 to 6.3.19 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/900](https://togithub.com/percy/cli/pull/900) - β¬οΈ Bump [@​babel/preset-env](https://togithub.com/babel/preset-env) from 7.16.11 to 7.17.10 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/913](https://togithub.com/percy/cli/pull/913) - β¬οΈ Bump rollup from 2.70.2 to 2.71.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/912](https://togithub.com/percy/cli/pull/912) - β¬οΈ Bump [@​babel/cli](https://togithub.com/babel/cli) from 7.17.6 to 7.17.10 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/911](https://togithub.com/percy/cli/pull/911) - β¬οΈ Bump ws from 8.5.0 to 8.6.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/914](https://togithub.com/percy/cli/pull/914) - β¬οΈ Bump [@​babel/core](https://togithub.com/babel/core) from 7.17.9 to 7.17.10 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/910](https://togithub.com/percy/cli/pull/910) - β¬οΈ Bump [@​rollup/plugin-node-resolve](https://togithub.com/rollup/plugin-node-resolve) from 13.2.1 to 13.3.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/percy/cli/pull/915](https://togithub.com/percy/cli/pull/915) **Full Changelog**: percy/cli@v1.1.0...v1.1.1 </details> --- ### Configuration π **Schedule**: "every weekend" (UTC). π¦ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β» **Rebasing**: Never, or you tick the rebase/retry checkbox. π **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/carbon-design-system/carbon-for-ibm-dotcom).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What is this?
Since our sdk-utils logger got a little less sophisticated, so did how we mock it during tests. However, the simple mock was a little too simple and would sometimes capture logs that it didn't need to.
This PR updates the sdk-utils test helper to only capture logs during a
logger.log()
call. Usage oflog()
orlog.bind()
within the file was updated to include thelogger
namespace so stubs work no matter when a logging group was created.