Skip to content

Commit

Permalink
only one signin
Browse files Browse the repository at this point in the history
  • Loading branch information
mabaasit committed Jan 16, 2025
1 parent 06ae8ab commit 5874d59
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/atlas-service/src/store/atlas-signin-reducer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ describe('atlasSignInReducer', function () {
expect(store.getState()).to.have.nested.property('state', 'initial');
});

it.only('should cancel sign in if sign in is in progress', async function () {
it.only('should cancel sign in if sign in is in progress', function () {
const mockAtlasService = {
isAuthenticated: sandbox
.stub()
Expand All @@ -177,10 +177,7 @@ describe('atlasSignInReducer', function () {

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

await Promise.all([
store.dispatch(signIn()),
store.dispatch(cancelSignIn()),
]);
store.dispatch(cancelSignIn());
expect(store.getState()).to.have.nested.property('state', 'canceled');
});
});
Expand Down

0 comments on commit 5874d59

Please sign in to comment.