Jasmine Test Framework Flashcards

1
Q

expect

A

takes the actual value to test and returns a matcher

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

toBe

A

the === operator for Jasmine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

it

A

Define a single spec.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

toBeDefined()

A

The variable in question is defined

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

describe

A

test suite, set with a string and a function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

beforeEach

A

runs before each unit test, allows us to share the common setup steps for each test spec

How well did you know this?
1
Not at all
2
3
4
5
Perfectly