From 6a09709e61d768345c2a38157ed1cf233e5aba66 Mon Sep 17 00:00:00 2001 From: Quentin Date: Tue, 17 Dec 2024 22:31:21 +0100 Subject: [PATCH] Fix typo: setted=>set --- src/test/webapp/unit/module/domain/Modules.fixture.ts | 2 +- .../module/primary/landscape/LandscapeComponent.spec.ts | 6 +++--- .../primary/modules-patch/ModulesPatchComponent.spec.ts | 6 +++--- .../unit/module/secondary/RestModulesRepository.spec.ts | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/webapp/unit/module/domain/Modules.fixture.ts b/src/test/webapp/unit/module/domain/Modules.fixture.ts index dda672b2609..5791c400e17 100644 --- a/src/test/webapp/unit/module/domain/Modules.fixture.ts +++ b/src/test/webapp/unit/module/domain/Modules.fixture.ts @@ -175,7 +175,7 @@ export const projectHistoryWithInit = (): ProjectHistory => ({ }); const appliedModuleProperties = (): ModulePropertyValue[] => { - return [{ key: 'baseName', value: 'settedbase' }]; + return [{ key: 'baseName', value: 'setbase' }]; }; export const defaultProject = (): Project => ({ diff --git a/src/test/webapp/unit/module/primary/landscape/LandscapeComponent.spec.ts b/src/test/webapp/unit/module/primary/landscape/LandscapeComponent.spec.ts index bf99fbc7275..cf91e46f3ad 100644 --- a/src/test/webapp/unit/module/primary/landscape/LandscapeComponent.spec.ts +++ b/src/test/webapp/unit/module/primary/landscape/LandscapeComponent.spec.ts @@ -663,7 +663,7 @@ describe('Landscape', () => { expect(message).toBe('Modules applied'); }); - it('should remove setted boolean parameter', async () => { + it('should remove set boolean parameter', async () => { const wrapper = await componentWithLandscape(); await clickModule('maven', wrapper); @@ -728,7 +728,7 @@ describe('Landscape', () => { await updatePath(wrapper); const baseNameField = wrapper.find(wrappedElement('parameter-baseName-field')).element as HTMLInputElement; - expect(baseNameField.value).toBe('settedbase'); + expect(baseNameField.value).toBe('setbase'); const initClasses = wrapper.find(wrappedElement('init-module')).classes(); expect(initClasses).toContain('-selected'); @@ -761,7 +761,7 @@ describe('Landscape', () => { expect(wrapper.find(wrappedElement('init-module')).exists()).toBe(true); }); - it('should not replace user setted properties from history', async () => { + it('should not replace user set properties from history', async () => { const modules = repositoryWithLandscape(); const wrapper = wrap({ modules }); await flushPromises(); diff --git a/src/test/webapp/unit/module/primary/modules-patch/ModulesPatchComponent.spec.ts b/src/test/webapp/unit/module/primary/modules-patch/ModulesPatchComponent.spec.ts index 9c68217cd7a..2b294adc040 100644 --- a/src/test/webapp/unit/module/primary/modules-patch/ModulesPatchComponent.spec.ts +++ b/src/test/webapp/unit/module/primary/modules-patch/ModulesPatchComponent.spec.ts @@ -248,7 +248,7 @@ describe('Modules', () => { expect(wrapper.find(wrappedElement('module-spring-cucumber-application-button')).attributes('disabled')).toBeUndefined(); }); - it('should display setted properties', async () => { + it('should display set properties', async () => { const wrapper = await componentWithModules(); await selectModule(wrapper); @@ -491,10 +491,10 @@ describe('Modules', () => { await updatePath(wrapper); const baseNameField = wrapper.find(wrappedElement('parameter-baseName-field')).element as HTMLInputElement; - expect(baseNameField.value).toBe('settedbase'); + expect(baseNameField.value).toBe('setbase'); }); - it('It should not override setted properties', async () => { + it('It should not override set properties', async () => { const modules = repositoryWithModules(); modules.history.resolves(defaultProjectHistory()); const wrapper = await filledModuleForm(modules); diff --git a/src/test/webapp/unit/module/secondary/RestModulesRepository.spec.ts b/src/test/webapp/unit/module/secondary/RestModulesRepository.spec.ts index 3bb0c253e9a..2263684f0ed 100644 --- a/src/test/webapp/unit/module/secondary/RestModulesRepository.spec.ts +++ b/src/test/webapp/unit/module/secondary/RestModulesRepository.spec.ts @@ -256,7 +256,7 @@ const restModuleHistory = (): RestProjectHistory => ({ properties: appliedModuleProperties(), }); -const appliedModuleProperties = (): {} => ({ baseName: 'settedbase' }); +const appliedModuleProperties = (): {} => ({ baseName: 'setbase' }); const restModuleProperties = (): RestModulePropertiesDefinitions => ({ definitions: [