Skip to content

Commit

Permalink
Suggested renames from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Steffen Zschaler <[email protected]>
  • Loading branch information
barnettwilliam and szschaler authored Mar 11, 2024
1 parent 61da4d2 commit 5d13c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/test/resources/TestUtility.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const customMatchers = {
* where actual is a String and expected is an array of strings that contains
* the keyword to check.
*/
toContainKeywords : function(matchersUtil){
toContainAllKeywords : function(matchersUtil){
return {
compare: function(actual, expected){

Expand Down Expand Up @@ -65,6 +65,6 @@ export function checkErrorPopulated(error, category, type, messageKeywords, loca

expect(error.category).toEqual(category);
expect(error.fileType).toEqual(type);
expect(error.message).toContainKeywords(messageKeywords);
expect(error.message).toContainAllKeywords(messageKeywords);
expect(error.location).toEqual(location);
}

0 comments on commit 5d13c05

Please sign in to comment.