From 6ea52eb367898d3b7735a7eba960c3a2871972d2 Mon Sep 17 00:00:00 2001 From: pkucode Date: Wed, 7 Aug 2024 22:30:13 +0800 Subject: [PATCH] chore: remove repetitive words (#17421) Signed-off-by: pkucode --- docs/src/pages/quasar-cli-vite/handling-process-env.md | 2 +- ui/src/components/field/__tests__/QField.cy.js | 2 +- ui/src/components/input/__tests__/QInput.cy.js | 2 +- ui/src/components/select/__tests__/QSelect.cy.js | 2 +- ui/src/composables/__tests__/use-field.cy.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/pages/quasar-cli-vite/handling-process-env.md b/docs/src/pages/quasar-cli-vite/handling-process-env.md index b20e1be79e7..c0f9ba6a299 100644 --- a/docs/src/pages/quasar-cli-vite/handling-process-env.md +++ b/docs/src/pages/quasar-cli-vite/handling-process-env.md @@ -84,7 +84,7 @@ if (process.env.MODE === 'electron') { ## Adding to process.env -You can add your own definitions to `process.env` through the the `/quasar.config` file. +You can add your own definitions to `process.env` through the `/quasar.config` file. It's important to understand the different types of environment variables. diff --git a/ui/src/components/field/__tests__/QField.cy.js b/ui/src/components/field/__tests__/QField.cy.js index b69096fd04d..716827c6d18 100644 --- a/ui/src/components/field/__tests__/QField.cy.js +++ b/ui/src/components/field/__tests__/QField.cy.js @@ -17,7 +17,7 @@ describe('Field API', () => { describe('(prop): maxlength', () => { it.skip(' ', () => { // It is tricky to test this since it will require that we setup a control slot with v-model. - // This is already tested in QInput and others using use-field composable, so are not not testing it. + // This is already tested in QInput and others using use-field composable, so are not testing it. }) }) }) diff --git a/ui/src/components/input/__tests__/QInput.cy.js b/ui/src/components/input/__tests__/QInput.cy.js index 94bac14d57c..f5649549375 100644 --- a/ui/src/components/input/__tests__/QInput.cy.js +++ b/ui/src/components/input/__tests__/QInput.cy.js @@ -57,7 +57,7 @@ describe('Input API', () => { }) describe('(prop): loading', () => { - it('should should set the component into a loading state', () => { + it('should set the component into a loading state', () => { mountQInput({ props: { loading: true diff --git a/ui/src/components/select/__tests__/QSelect.cy.js b/ui/src/components/select/__tests__/QSelect.cy.js index 1b9a019851d..eb40d27cffc 100644 --- a/ui/src/components/select/__tests__/QSelect.cy.js +++ b/ui/src/components/select/__tests__/QSelect.cy.js @@ -1432,7 +1432,7 @@ describe('QSelect API', () => { }) describe('(event): filter-abort', () => { - it('should emit event when the the filterFn has not called the doneFn yet and a new filter is requested', () => { + it('should emit event when the filterFn has not called the doneFn yet and a new filter is requested', () => { const fn = cy.stub() const filterFn = cy.stub() mountQSelect({ diff --git a/ui/src/composables/__tests__/use-field.cy.js b/ui/src/composables/__tests__/use-field.cy.js index 448a39c08bf..cd391296b17 100644 --- a/ui/src/composables/__tests__/use-field.cy.js +++ b/ui/src/composables/__tests__/use-field.cy.js @@ -82,7 +82,7 @@ describe('use-field API', () => { describe('Category: behavior|content', () => { describe('(prop): loading', () => { - it('should should set the component into a loading state', () => { + it('should set the component into a loading state', () => { mountQFieldWrapper({ props: { loading: true