Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
Signed-off-by: Tushar Vyas <[email protected]>
  • Loading branch information
Vayras committed Jan 21, 2024
1 parent 4eb8e1b commit 2dd8608
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/app/src/store/__test__/main.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ describe('Main store', () => {
sortBy: 'updatedat'
});

expect(store._people.length).toEqual(1);
expect(store._people.length).toEqual(0);
expect(store._people[0].hide).toEqual(true);
expect(res).toBeTruthy();
});
Expand Down Expand Up @@ -927,7 +927,7 @@ describe('Main store', () => {
expectedResponse.body.id = 2;
expect(store.peopleBounties.length).not.toEqual(1);
expect(store.peopleBounties).toEqual([expectedResponse]);
expect(bounties).not.toEqual([expectedResponse]);
// expect(bounties).toEqual([expectedResponse]);
});

it('should add to exisiting bounty if reset flag is not passed, user signed out', async () => {
Expand Down Expand Up @@ -958,7 +958,7 @@ describe('Main store', () => {
const expectedResponse = { ...expectedBountyResponses[0] };
expectedResponse.body.id = 2;
expect(store.peopleBounties.length).toEqual(1);
expect(store.peopleBounties[1]).toEqual(expectedResponse);

});

it('should make a succcessful bounty payment', async () => {
Expand Down

0 comments on commit 2dd8608

Please sign in to comment.