mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
update test
This commit is contained in:
parent
76ec4c90d8
commit
5fd180b558
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ describe('acceptInvitation', () => {
|
|||
});
|
||||
await store.dispatch(transferHost('password', 'newHostName', 'newHostId'));
|
||||
const state = store.getState();
|
||||
expect(api.mock.calls[0][0].uri).toBe('/studios/123123/transfer/newHostName?password=password');
|
||||
expect(api.mock.calls[0][0].uri).toBe('/studios/123123/transfer/newHostName');
|
||||
expect(state.studio.owner).toBe('newHostId');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue