Skip to content

Commit

Permalink
chore: e2e formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jrasm91 committed Aug 9, 2024
1 parent 50197e1 commit 65bc27e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions e2e/src/api/specs/asset.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ describe('/asset', () => {
expect(status).toBe(200);
expect(body).toMatchObject({
id: ratingAsset.id,
exifInfo: expect.objectContaining({ rating: 3}),
exifInfo: expect.objectContaining({ rating: 3 }),
});
});

Expand Down Expand Up @@ -618,11 +618,7 @@ describe('/asset', () => {
});

it('should reject invalid rating', async () => {
for (const test of [
{ rating: 7 },
{ rating: 3.5 },
{ rating: null }
]) {
for (const test of [{ rating: 7 }, { rating: 3.5 }, { rating: null }]) {
const { status, body } = await request(app)
.put(`/assets/${user1Assets[0].id}`)
.send(test)
Expand Down

0 comments on commit 65bc27e

Please sign in to comment.