From 57719ee188f14a306218d775d94ec1dfdde38993 Mon Sep 17 00:00:00 2001 From: Richard McCarthy Date: Fri, 8 Nov 2024 16:05:29 +0000 Subject: [PATCH] change test --- src/components/button/_macro.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/button/_macro.spec.js b/src/components/button/_macro.spec.js index 35f8ffe84f..12b398ad7d 100644 --- a/src/components/button/_macro.spec.js +++ b/src/components/button/_macro.spec.js @@ -360,7 +360,7 @@ describe('macro: button', () => { noIcon: true, }); - expect(iconsSpy.occurrences[0]).toBe(undefined); + expect(iconsSpy.occurrences[0]).toBeUndefined(); }); it('has default `arrow-next` icon when noIcon is set to false', () => {