fix(test): move all test apps

This commit is contained in:
thomas
2023-10-18 10:35:53 +02:00
parent 058c7b04a0
commit 9a151be595
254 changed files with 273 additions and 273 deletions

View File

@@ -0,0 +1,27 @@
import { render } from '@testing-library/angular';
import { CounterComponent } from './counter.component';
describe('CounterComponent', () => {
describe('Given an initualValue of 10', () => {
test('Then counterValue is 10', async () => {
await render(CounterComponent);
});
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', () => {
test('Then counterValue is 8', async () => {
await render(CounterComponent);
});
describe('When clicking on Send ', () => {
test('Then emitted value is 8', async () => {
await render(CounterComponent);
});
});
});
});
});