Angular_L1

Angular_L1

Professional Development

10 Qs

quiz-placeholder

Similar activities

Roadnet

Roadnet

Professional Development

15 Qs

Cleaning Solar Panels Effectively

Cleaning Solar Panels Effectively

Professional Development

10 Qs

guess the cartoons

guess the cartoons

KG - Professional Development

10 Qs

Transmissão

Transmissão

Professional Development

8 Qs

Work Mastery Exam 3

Work Mastery Exam 3

Professional Development

10 Qs

Laconon

Laconon

KG - Professional Development

10 Qs

Storyboard e-learning

Storyboard e-learning

Professional Development

6 Qs

Angular_L1

Angular_L1

Assessment

Quiz

Other

Professional Development

Hard

Created by

Robert Irudyanathan

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is used in Angular to create unit test cases?
'Jasmine'
'Mocha'
'Jest'
'Enzyme'

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which decorator in Angular is used to define a unit test?
'@Component'
'@Injectable'
'@Test'
'@Directive'

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following needs to be imported in Angular to enable unit testing?
'TestBed'
'TestingModule'
'TestModule'
'UnitTestModule'

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which method in TestBed is used to compile components dynamically in Angular tests?
'compileModule'
'configureTestingModule'
'overrideModule'
'overrideComponent'

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is used to get access to rendered DOM elements in Angular tests?
'TestFixture'
'DebugElement'
'DOMElement'
'ComponentElement'

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which method in Angular TestingModule helps in creating async observable that emits test values?
'createObservable'
'observable'
'asyncData'
'fakeAsync'

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is used to trigger change detection in Angular tests?
'detectChanges'
'onChange'
'triggerChange'
'runChangeDetection'

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?