From 313ce08c15ca209e13a650803bc280e33f26ee33 Mon Sep 17 00:00:00 2001 From: Mo Date: Fri, 5 May 2023 09:23:27 -0500 Subject: [PATCH] chore: fix test --- .../Services/Features/FeaturesService.spec.ts | 2 +- packages/web/CHANGELOG.md.json | 20 +++---------------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/packages/snjs/lib/Services/Features/FeaturesService.spec.ts b/packages/snjs/lib/Services/Features/FeaturesService.spec.ts index 4432f3425..a9adfa606 100644 --- a/packages/snjs/lib/Services/Features/FeaturesService.spec.ts +++ b/packages/snjs/lib/Services/Features/FeaturesService.spec.ts @@ -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 () => { diff --git a/packages/web/CHANGELOG.md.json b/packages/web/CHANGELOG.md.json index 8843ffef8..37acfd9d5 100644 --- a/packages/web/CHANGELOG.md.json +++ b/packages/web/CHANGELOG.md.json @@ -545,13 +545,13 @@ "version": "3.150.51", "title": "[3.150.51](https://github.com/standardnotes/app/compare/@standardnotes/web@3.150.50...@standardnotes/web@3.150.51) (2023-04-12)", "date": null, - "body": "### Bug Fixes\n\n* Fixed issue where a new note would not be correctly synced after making changes ([9f82426](https://github.com/standardnotes/app/commit/9f824266ac47280c982da3900c107cc8bb239233))", + "body": "### Bug Fixes\n\n* Fixed temporary regression where a new note would not be correctly synced after making changes ([9f82426](https://github.com/standardnotes/app/commit/9f824266ac47280c982da3900c107cc8bb239233))", "parsed": { "_": [ - "Fixed issue where a new note would not be correctly synced after making changes (9f82426)" + "Fixed temporary regression where a new note would not be correctly synced after making changes (9f82426)" ], "Bug Fixes": [ - "Fixed issue where a new note would not be correctly synced after making changes (9f82426)" + "Fixed temporary regression where a new note would not be correctly synced after making changes (9f82426)" ] } }, @@ -764,20 +764,6 @@ ] } }, - { - "version": "3.150.32", - "title": "[3.150.32](https://github.com/standardnotes/app/compare/@standardnotes/web@3.150.31...@standardnotes/web@3.150.32) (2023-03-26)", - "date": null, - "body": "### Bug Fixes\n\n* exception handling ([#2277](https://github.com/standardnotes/app/issues/2277)) ([5a7419b](https://github.com/standardnotes/app/commit/5a7419bf1c83f7d38e5ad157da67ebbed850f609))", - "parsed": { - "_": [ - "exception handling (#2277) (5a7419b)" - ], - "Bug Fixes": [ - "exception handling (#2277) (5a7419b)" - ] - } - }, { "version": "3.150.31", "title": "[3.150.31](https://github.com/standardnotes/app/compare/@standardnotes/web@3.150.30...@standardnotes/web@3.150.31) (2023-03-24)",