chore: fix test

This commit is contained in:
Mo
2023-05-05 09:23:27 -05:00
parent a811582a7f
commit 313ce08c15
2 changed files with 4 additions and 18 deletions

View File

@@ -233,7 +233,7 @@ describe('featuresService', () => {
const { didChangeRoles } = await featuresService.updateOnlineRoles(newRoles)
await featuresService.fetchFeatures('123', didChangeRoles)
expect(spy.mock.calls[0][0]).toEqual(FeaturesEvent.DidPurchaseSubscription)
expect(spy.mock.calls[1][0]).toEqual(FeaturesEvent.DidPurchaseSubscription)
})
it('should not notify of subscription purchase on initial roles load after sign in', async () => {