We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 773c119 commit b22f917Copy full SHA for b22f917
test/api/hook.js
@@ -46,7 +46,7 @@ describe('hook', () => {
46
});
47
48
describe('with expect.child', () => {
49
- it('should not affect child instances made before installing the hook', () => {
+ it('should affect child instances made before installing the hook', () => {
50
const parentExpect = expect.clone();
51
const childExpect = parentExpect.child();
52
@@ -59,7 +59,7 @@ describe('hook', () => {
59
60
61
childExpect(123, 'to equal', 123);
62
- expect(called, 'to be false');
+ expect(called, 'to be true');
63
64
65
it('should not affect child instances made after installing the hook', () => {
0 commit comments