Files
angular-challenges/apps/testing/router-outlet/src/app/app.component.spec.ts
2023-10-18 14:08:57 +02:00

32 lines
789 B
TypeScript

describe('AppComponent', () => {
describe('Given no search criteria', () => {
it('Then shows error message and disabled button', async () => {
//todo
});
});
describe('Given a search criteria with no book match', () => {
it('Then shows No book found', async () => {
//todo
});
});
describe('Given a search criteria with one book match', () => {
it('Then shows One book and no error', async () => {
//todo
});
});
describe('Given a search criteria in Uppercase with one book match', () => {
it('Then shows One book and no error', async () => {
//todo
});
});
describe('Given a search criteria with multple books matches', () => {
it('Then shows a list of books', async () => {
//todo
});
});
});