From 9d5ec70263bccc57f5b00b1625e03ed21e08e5d7 Mon Sep 17 00:00:00 2001 From: Valentyna Dudchak Date: Wed, 27 Nov 2024 18:39:48 +0200 Subject: [PATCH] fixed test --- tests/unit/redux/editProfileSlice.spec.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/unit/redux/editProfileSlice.spec.js b/tests/unit/redux/editProfileSlice.spec.js index 310853a1d..d87500612 100644 --- a/tests/unit/redux/editProfileSlice.spec.js +++ b/tests/unit/redux/editProfileSlice.spec.js @@ -36,6 +36,11 @@ const userDataMock = { scientificActivities: 'Activities', awards: 'Awards' }, + aboutStudent: { + personalIntroduction: '', + learningGoals: '', + learningActivities: '' + }, notificationSettings: { isOfferStatusNotification: false, isChatNotification: false, @@ -63,6 +68,11 @@ const expectedUserData = { scientificActivities: 'Activities', awards: 'Awards' }, + aboutStudent: { + personalIntroduction: '', + learningGoals: '', + learningActivities: '' + }, notificationSettings: { isOfferStatusNotification: false, isChatNotification: false, @@ -94,6 +104,11 @@ const initialState = { scientificActivities: '', awards: '' }, + aboutStudent: { + personalIntroduction: '', + learningGoals: '', + learningActivities: '' + }, notificationSettings: { isOfferStatusNotification: false, isChatNotification: false,