From 5d13c05f3870a8ad97261550fdce8c8da9c76c90 Mon Sep 17 00:00:00 2001 From: barnettwilliam <32113205+barnettwilliam@users.noreply.github.com> Date: Mon, 11 Mar 2024 10:33:07 +0000 Subject: [PATCH] Suggested renames from code review Co-authored-by: Steffen Zschaler --- platform/test/resources/TestUtility.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/test/resources/TestUtility.js b/platform/test/resources/TestUtility.js index 75759d6..6f7ded7 100644 --- a/platform/test/resources/TestUtility.js +++ b/platform/test/resources/TestUtility.js @@ -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){ @@ -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); } \ No newline at end of file