From c5e64ce09041fdc8d50c425dc3419421c8907f13 Mon Sep 17 00:00:00 2001 From: arbulu89 Date: Mon, 18 Sep 2023 12:17:16 +0200 Subject: [PATCH] Fix typo on tuning word --- assets/js/components/HostDetails/HostDetails.test.jsx | 2 +- assets/js/components/HostDetails/SaptuneSummary.jsx | 2 +- assets/js/components/HostDetails/SaptuneSummary.test.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/components/HostDetails/HostDetails.test.jsx b/assets/js/components/HostDetails/HostDetails.test.jsx index dbea4d944f..dc18cb960e 100644 --- a/assets/js/components/HostDetails/HostDetails.test.jsx +++ b/assets/js/components/HostDetails/HostDetails.test.jsx @@ -165,7 +165,7 @@ describe('HostDetails component', () => { screen.getByText('Configured Version').nextSibling ).toHaveTextContent(configuredVersion); - expect(screen.getByText('Tunning').nextSibling).toHaveTextContent( + expect(screen.getByText('Tuning').nextSibling).toHaveTextContent( new RegExp(tuningState, 'i') ); }); diff --git a/assets/js/components/HostDetails/SaptuneSummary.jsx b/assets/js/components/HostDetails/SaptuneSummary.jsx index dc9ded767b..892cc3dcc4 100644 --- a/assets/js/components/HostDetails/SaptuneSummary.jsx +++ b/assets/js/components/HostDetails/SaptuneSummary.jsx @@ -33,7 +33,7 @@ function SaptuneSummary({ content: , }, { - title: 'Tunning', + title: 'Tuning', content: , }, { diff --git a/assets/js/components/HostDetails/SaptuneSummary.test.jsx b/assets/js/components/HostDetails/SaptuneSummary.test.jsx index aa07192228..def7fffaeb 100644 --- a/assets/js/components/HostDetails/SaptuneSummary.test.jsx +++ b/assets/js/components/HostDetails/SaptuneSummary.test.jsx @@ -33,7 +33,7 @@ describe('SaptuneSummary component', () => { screen.getByText('Configured Version').nextSibling ).toHaveTextContent(configuredVersion); - expect(screen.getByText('Tunning').nextSibling).toHaveTextContent( + expect(screen.getByText('Tuning').nextSibling).toHaveTextContent( new RegExp(tuningState, 'i') ); });