Skip to content

Commit

Permalink
Merge 60256ef into main
Browse files Browse the repository at this point in the history
  • Loading branch information
carbon-bot authored Aug 20, 2024
2 parents 605a085 + 60256ef commit 7e6153f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ibm-products/src/global/js/utils/test-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const makeMatcherArray = (args) =>
* A helper function to enable a test to expect a single call to
* console.warn, for example when intentionally using a deprecated prop
* or supplying invalid parameters for the purposes of the test.
* @param {string|regex|function|[]} message the expected parameters for the call to
* @param {string | regex | Function | []} message the expected parameters for the call to
* console.warn, which must be called exactly once. A single string or regex or an
* expect matcher can be used to match a single-argument call to console.warn (most common),
* while an array of strings and/or regex and/or expect matchers can be used to match a
Expand Down Expand Up @@ -226,7 +226,7 @@ export const expectLogging = async ({ errors, warnings }, test) => {
* A helper function to enable a test to expect a single call to
* console.error, for example when intentionally omitting a required prop
* or supplying an invalid prop type or value for the purposes of the test.
* @param {string|regex|function|[]} message the expected parameters for the call to
* @param {string | regex | Function | []} message the expected parameters for the call to
* console.error, which must be called exactly once. A single string or regex or an
* expect matcher can be used to match a single-argument call to console.error (most common),
* while an array of strings and/or regex and/or expect matchers can be used to match a
Expand Down

0 comments on commit 7e6153f

Please sign in to comment.