Slide 11
Slide 11 text
JEST INTERFACE
JEST INTERFACE
FAIL src/store.test.js
● We can select and deselect a test leaf
expect(received).toEqual(expected)
Expected value to equal:
{"files": [], "suites": [], "tests":
["my_test_dir::my_test_file::my_test_1"]}
Received:
{"my_suite": {"files": [], "nodeids":
["my_test_dir::my_test_file::my_test_1"]}}
Difference:
- Expected
+ Received
Object {
+ "my_suite": Object {
"files": Array [],
- "suites": Array [],
- "tests": Array [