From 326b7218f805809cc73edde3888198a6578c7339 Mon Sep 17 00:00:00 2001 From: pereag Date: Fri, 31 May 2024 20:29:33 +0200 Subject: [PATCH] feat(redmine #1297182): fix pr review from Tony --- .../SidebarFilters/SidebarFilters.mock.tsx | 24 +++++++++---------- .../SidebarFilters.test.tsx.snap | 12 +++++----- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/packages/haring-react/src/Components/SidebarFilters/SidebarFilters.mock.tsx b/packages/haring-react/src/Components/SidebarFilters/SidebarFilters.mock.tsx index 42f8bb01..6ebd8d50 100644 --- a/packages/haring-react/src/Components/SidebarFilters/SidebarFilters.mock.tsx +++ b/packages/haring-react/src/Components/SidebarFilters/SidebarFilters.mock.tsx @@ -50,7 +50,7 @@ export function getMenu(checked: boolean): IMenuItem[] { ), id: 1, - label: 'Nom du client', + label: 'Client name', }, { children: [ @@ -67,7 +67,7 @@ export function getMenu(checked: boolean): IMenuItem[] { ), id: 10, - label: 'Contrat classique', + label: 'Classic contract', }, { content: ( @@ -76,17 +76,17 @@ export function getMenu(checked: boolean): IMenuItem[] { ), id: 11, - label: 'Contrat special', + label: 'Special contract', }, ], id: 3, - label: 'Type de contrat', + label: 'Type of Contract', }, { id: 8, - label: 'Période', + label: 'Period', }, - { id: 9, label: 'Durée du contrat' }, + { id: 9, label: 'Contract duration' }, ]; } @@ -116,7 +116,7 @@ export function getMenuWithSelectableList(): IMenuItem[] { /> ), id: 1, - label: 'Nom du client', + label: 'Client name', }, { children: [ @@ -129,7 +129,7 @@ export function getMenuWithSelectableList(): IMenuItem[] { /> ), id: 10, - label: 'Contrat classique', + label: 'Classic contract', }, { content: ( @@ -140,16 +140,16 @@ export function getMenuWithSelectableList(): IMenuItem[] { /> ), id: 11, - label: 'Contrat special', + label: 'Special contract', }, ], id: 3, - label: 'Type de contrat', + label: 'Type of Contract', }, { id: 8, - label: 'Période', + label: 'Period', }, - { id: 9, label: 'Durée du contrat' }, + { id: 9, label: 'Contract duration' }, ]; } diff --git a/packages/haring-react/src/Components/SidebarFilters/__snapshots__/SidebarFilters.test.tsx.snap b/packages/haring-react/src/Components/SidebarFilters/__snapshots__/SidebarFilters.test.tsx.snap index 3de033ac..ca80d9e0 100644 --- a/packages/haring-react/src/Components/SidebarFilters/__snapshots__/SidebarFilters.test.tsx.snap +++ b/packages/haring-react/src/Components/SidebarFilters/__snapshots__/SidebarFilters.test.tsx.snap @@ -240,7 +240,7 @@ exports[`SidebarFilters matches snapshot 1`] = ` data-testid="select" type="button" > - Nom du client (2) + Client name (2) - Type de contrat (2) + Type of Contract (2) - Contrat classique (1) + Classic contract (1) - Contrat special (1) + Special contract (1) - Période + Period @@ -790,7 +790,7 @@ exports[`SidebarFilters matches snapshot 1`] = ` data-testid="select" type="button" > - Durée du contrat + Contract duration