Summary:
This method is defined in the implementation but is missing from the mock.

public

Reviewed By: cpojer

Differential Revision: D2875173

fb-gh-sync-id: 6544c34a3d707ff9cecacc0608ab8320b950bfb7
This commit is contained in:
Jan Kassens 2016-01-28 12:07:38 -08:00 коммит произвёл facebook-github-bot-5
Родитель a322ab61fb
Коммит 4a226fc1af
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -15,6 +15,7 @@ function reportError(error) {
var ErrorUtils = {
apply: jest.genMockFunction().mockImplementation(execute),
applyWithGuard: jest.genMockFunction().mockImplementation(execute),
guard: jest.genMockFunction().mockImplementation(callback => callback),
inGuard: jest.genMockFunction().mockReturnValue(true),
reportError: jest.genMockFunction().mockImplementation(reportError),
setGlobalHandler: jest.genMockFunction(),