Skip to content

Commit 06ae8ab

Browse files
committed
dont call signin twice
1 parent 7b53ebb commit 06ae8ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/atlas-service/src/store/atlas-signin-reducer.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,11 @@ describe('atlasSignInReducer', function () {
158158
expect(store.getState()).to.have.nested.property('state', 'initial');
159159
});
160160

161-
it('should cancel sign in if sign in is in progress', async function () {
161+
it.only('should cancel sign in if sign in is in progress', async function () {
162162
const mockAtlasService = {
163163
isAuthenticated: sandbox
164164
.stub()
165+
.onCall(0)
165166
.callsFake(({ signal }: { signal: AbortSignal }) => {
166167
return new Promise((resolve, reject) => {
167168
signal.addEventListener('abort', () => {

0 commit comments

Comments
 (0)