diff --git a/libs/model/test/contest/contests-projection-lifecycle.spec.ts b/libs/model/test/contest/contests-projection-lifecycle.spec.ts index e8afe908dff..bf8b4028a63 100644 --- a/libs/model/test/contest/contests-projection-lifecycle.spec.ts +++ b/libs/model/test/contest/contests-projection-lifecycle.spec.ts @@ -2,7 +2,6 @@ import { Actor, DeepPartial, EventNames, - InvalidState, dispose, handleEvent, query, @@ -400,34 +399,4 @@ describe('Contests projection lifecycle', () => { }, ] as Array>>); }); - - test('should raise invalid state when community with namespace not found', async () => { - expect( - handleEvent(Contests(), { - name: EventNames.RecurringContestManagerDeployed, - payload: { - namespace: 'not-found', - contest_address: 'new-address', - interval: 10, - created_at, - }, - }), - ).to.eventually.be.rejectedWith(InvalidState); - }); - - test('should raise retryable error when protocol helper fails', async () => { - getTokenAttributes.rejects(new Error()); - expect( - handleEvent(Contests(), { - name: EventNames.RecurringContestManagerDeployed, - payload: { - namespace: 'not-found', - contest_address: 'new-address', - interval: 10, - created_at, - }, - }), - ).to.eventually.be.rejectedWith(Error); - getTokenAttributes.reset(); - }); });