projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
15088: Fixes linkAccountPanel reducer tests
[arvados-workbench2.git]
/
src
/
store
/
link-account-panel
/
link-account-panel-reducer.test.ts
diff --git
a/src/store/link-account-panel/link-account-panel-reducer.test.ts
b/src/store/link-account-panel/link-account-panel-reducer.test.ts
index 4cb88a85addd2a9893172f3267a9c79afbb41b9a..d1bd8dfd62ddd03b7c6d099e9c3d33b50e07b75b 100644
(file)
--- a/
src/store/link-account-panel/link-account-panel-reducer.test.ts
+++ b/
src/store/link-account-panel/link-account-panel-reducer.test.ts
@@
-16,6
+16,8
@@
describe('link-account-panel-reducer', () => {
const state = linkAccountPanelReducer(initialState, linkAccountPanelActions.LINK_INIT({targetUser}));
expect(state).toEqual({
targetUser,
const state = linkAccountPanelReducer(initialState, linkAccountPanelActions.LINK_INIT({targetUser}));
expect(state).toEqual({
targetUser,
+ isProcessing: false,
+ selectedCluster: undefined,
targetUserToken: undefined,
userToLink: undefined,
userToLinkToken: undefined,
targetUserToken: undefined,
userToLink: undefined,
userToLinkToken: undefined,
@@
-41,6
+43,8
@@
describe('link-account-panel-reducer', () => {
expect(state).toEqual({
targetUser,
targetUserToken,
expect(state).toEqual({
targetUser,
targetUserToken,
+ isProcessing: false,
+ selectedCluster: undefined,
userToLink,
userToLinkToken,
originatingUser: OriginatingUser.TARGET_USER,
userToLink,
userToLinkToken,
originatingUser: OriginatingUser.TARGET_USER,
@@
-63,6
+67,8
@@
describe('link-account-panel-reducer', () => {
expect(state).toEqual({
targetUser,
targetUserToken: undefined,
expect(state).toEqual({
targetUser,
targetUserToken: undefined,
+ isProcessing: false,
+ selectedCluster: undefined,
userToLink,
userToLinkToken: undefined,
originatingUser: OriginatingUser.TARGET_USER,
userToLink,
userToLinkToken: undefined,
originatingUser: OriginatingUser.TARGET_USER,