mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-12 05:43:03 -05:00
feat(test): add challenge 18 and 19 avout testing
This commit is contained in:
12
apps/testing-nested/src/app/child.component.spec.ts
Normal file
12
apps/testing-nested/src/app/child.component.spec.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { render } from '@testing-library/angular';
|
||||
import { ChildComponent } from './child.component';
|
||||
|
||||
describe('ChildComponent', () => {
|
||||
test('add Good title and send request title with no error', async () => {
|
||||
await render(ChildComponent);
|
||||
});
|
||||
|
||||
test('fail validating title because no title were typed', async () => {
|
||||
await render(ChildComponent);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user