Skip to content

Commit 5874d59

Browse files
committed
only one signin
1 parent 06ae8ab commit 5874d59

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

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

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

161-
it.only('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', function () {
162162
const mockAtlasService = {
163163
isAuthenticated: sandbox
164164
.stub()
@@ -177,10 +177,7 @@ describe('atlasSignInReducer', function () {
177177

178178
void store.dispatch(performSignInAttempt()).catch(() => {});
179179

180-
await Promise.all([
181-
store.dispatch(signIn()),
182-
store.dispatch(cancelSignIn()),
183-
]);
180+
store.dispatch(cancelSignIn());
184181
expect(store.getState()).to.have.nested.property('state', 'canceled');
185182
});
186183
});

0 commit comments

Comments
 (0)