Jasmine Test Framework Flashcards
1
Q
expect
A
takes the actual value to test and returns a matcher
2
Q
toBe
A
the === operator for Jasmine
3
Q
it
A
Define a single spec.
4
Q
toBeDefined()
A
The variable in question is defined
5
Q
describe
A
test suite, set with a string and a function
6
Q
beforeEach
A
runs before each unit test, allows us to share the common setup steps for each test spec