Skip to content

Commit

Permalink
Style: Use object property shorthand
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Apr 9, 2024
1 parent 05d7ce6 commit c3de7fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ describe('utils', () => {
expect(assembleCategoryFunction('title', 'description', {})).toEqual({
title: 'title',
description: 'description',
toggle: { value: categoryValue, enabled: readonly, readonly: readonly },
toggle: { value: categoryValue, enabled: readonly, readonly },
});
});

Expand All @@ -130,7 +130,7 @@ describe('utils', () => {
expect(assembleCategoryFunction('title', 'description', cookieTable)).toEqual({
title: 'title',
description: 'description',
toggle: { value: categoryValue, enabled: readonly, readonly: readonly },
toggle: { value: categoryValue, enabled: readonly, readonly },
cookie_table: [
{
name: 'cookie1',
Expand Down

0 comments on commit c3de7fd

Please sign in to comment.