From a9022ce4ae671ae4a503de4eddc6ed266acf4e1b Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Wed, 25 Oct 2023 16:29:24 +0300 Subject: [PATCH] fix(tests): fix SearchSelect test testing array value/defaultValue refs LIIKUNTA-567 (SearchSelect test) --- .../src/components/select/__tests__/SearchSelect.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/components/select/__tests__/SearchSelect.test.tsx b/packages/components/src/components/select/__tests__/SearchSelect.test.tsx index 288c2ba97..1c21ca05c 100644 --- a/packages/components/src/components/select/__tests__/SearchSelect.test.tsx +++ b/packages/components/src/components/select/__tests__/SearchSelect.test.tsx @@ -77,7 +77,7 @@ describe('SearchSelect', () => { (field) => { expect(() => render() - ).toThrow(/must be a singleton/); + ).toThrow(/must be singletons/); } );