Lines Matching refs:_onCreate
20 const _onCreate = jest.fn(); constant
28 _onCreate(this.type);
48 _onCreate.mockClear();
49 _onCreate.mockReset();
111 _onCreate.mockClear();
114 expect(_onCreate).toHaveBeenCalledWith('child1');
115 expect(_onCreate).toHaveBeenCalledTimes(1);
123 _onCreate.mockClear();
126 expect(_onCreate).toHaveBeenCalledWith('child2');
127 expect(_onCreate).toHaveBeenCalledTimes(1);
136 _onCreate.mockClear();
139 expect(_onCreate).toHaveBeenCalledWith('child3');
141 expect(_onCreate).toHaveBeenCalledTimes(1);
149 _onCreate.mockClear();
155 expect(_onCreate).toHaveBeenCalledTimes(0);