From 257666cea191ba750371a346e7f2a8bb2805be11 Mon Sep 17 00:00:00 2001 From: ThomasL Date: Thu, 13 Jul 2023 15:39:16 +0200 Subject: [PATCH] fix(challenge19): fix describe block --- apps/testing-input-output/src/app/counter.component.cy.ts | 2 +- .../src/app/counter.component.spec.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/testing-input-output/src/app/counter.component.cy.ts b/apps/testing-input-output/src/app/counter.component.cy.ts index 484ec5a..17a1815 100644 --- a/apps/testing-input-output/src/app/counter.component.cy.ts +++ b/apps/testing-input-output/src/app/counter.component.cy.ts @@ -1,7 +1,7 @@ import { CounterComponent } from './counter.component'; describe(CounterComponent.name, () => { - describe('Given an initualValue of 10', async () => { + describe('Given an initualValue of 10', () => { it('listen to output using createOutputSpy', () => { cy.mount(CounterComponent); }); diff --git a/apps/testing-input-output/src/app/counter.component.spec.ts b/apps/testing-input-output/src/app/counter.component.spec.ts index dd8c08d..15110bc 100644 --- a/apps/testing-input-output/src/app/counter.component.spec.ts +++ b/apps/testing-input-output/src/app/counter.component.spec.ts @@ -2,22 +2,22 @@ import { render } from '@testing-library/angular'; import { CounterComponent } from './counter.component'; describe('CounterComponent', () => { - describe('Given an initualValue of 10', async () => { + describe('Given an initualValue of 10', () => { test('Then counterValue is 10', async () => { await render(CounterComponent); }); - describe('When clicking 5 times on increment button', async () => { + describe('When clicking 5 times on increment button', () => { test('Then counterValue is 15', async () => { await render(CounterComponent); }); }); - describe('When clicking 2 times on decrement button', async () => { + describe('When clicking 2 times on decrement button', () => { test('Then counterValue is 8', async () => { await render(CounterComponent); }); - describe('When clicking on Send ', async () => { + describe('When clicking on Send ', () => { test('Then emitted value is 8', async () => { await render(CounterComponent); });