@@ -3,7 +3,7 @@ import { cloneDeep } from 'lodash'
3
3
import { useSelector } from 'react-redux'
4
4
import { AxiosError } from 'axios'
5
5
import { cleanup , clearStoreActions , mockedStore , render } from 'uiSrc/utils/test-utils'
6
- import { oauthCloudJobSelector , setJob } from 'uiSrc/slices/oauth/cloud'
6
+ import { oauthCloudJobSelector , setJob , setSocialDialogState } from 'uiSrc/slices/oauth/cloud'
7
7
import { CloudJobStatus , CloudJobName , CloudJobStep } from 'uiSrc/electron/constants'
8
8
import { addErrorNotification , addInfiniteNotification , removeInfiniteNotification } from 'uiSrc/slices/app/notifications'
9
9
import { RootState } from 'uiSrc/slices/store'
@@ -132,6 +132,7 @@ describe('OAuthJobs', () => {
132
132
const expectedActions = [
133
133
addErrorNotification ( { response : { data : error } } as AxiosError ) ,
134
134
setSSOFlow ( ) ,
135
+ setSocialDialogState ( null ) ,
135
136
removeInfiniteNotification ( InfiniteMessagesIds . oAuthProgress ) ,
136
137
]
137
138
expect ( clearStoreActions ( store . getActions ( ) ) ) . toEqual (
@@ -163,6 +164,7 @@ describe('OAuthJobs', () => {
163
164
const expectedActions = [
164
165
addInfiniteNotification ( INFINITE_MESSAGES . DATABASE_EXISTS ( ) ) ,
165
166
setSSOFlow ( ) ,
167
+ setSocialDialogState ( null ) ,
166
168
removeInfiniteNotification ( InfiniteMessagesIds . oAuthProgress ) ,
167
169
]
168
170
expect ( clearStoreActions ( store . getActions ( ) ) ) . toEqual (
@@ -194,6 +196,7 @@ describe('OAuthJobs', () => {
194
196
const expectedActions = [
195
197
addInfiniteNotification ( INFINITE_MESSAGES . DATABASE_EXISTS ( ) ) ,
196
198
setSSOFlow ( ) ,
199
+ setSocialDialogState ( null ) ,
197
200
removeInfiniteNotification ( InfiniteMessagesIds . oAuthProgress ) ,
198
201
]
199
202
expect ( clearStoreActions ( store . getActions ( ) ) ) . toEqual (
0 commit comments