{"size": 199, "ext": "js", "max_stars_repo_path": "examples/66881537/foo.spec.js", "max_stars_repo_name": "mrdulin/jest-v26-codelab", "max_stars_repo_stars_event_min_datetime": "2021-01-18T02:11:08.000Z", "max_stars_repo_stars_event_max_datetime": "2021-07-17T13:14:56.000Z", "max_issues_repo_path": "examples/66881537/foo.spec.js", "max_issues_repo_name": "mrdulin/jest-v26-codelab", "max_issues_repo_issues_event_min_datetime": "2021-06-09T10:03:58.000Z", "max_issues_repo_issues_event_max_datetime": "2021-06-18T07:08:06.000Z", "max_forks_repo_path": "examples/66881537/foo.spec.js", "max_forks_repo_name": "mrdulin/jest-v26-codelab", "max_forks_repo_forks_event_min_datetime": "2021-08-20T12:14:59.000Z", "max_forks_repo_forks_event_max_datetime": "2021-08-20T12:14:59.000Z"}
{"max_stars_count": 3, "max_issues_count": 1, "max_forks_count": 1, "avg_line_length": 19.9, "max_line_length": 51, "alphanum_fraction": 0.5075376884}
const foo = require('./foo');

jest.mock('knex', () => jest.fn(() => ({ a: 4 })));

describe('jest.mockImplementation', () => {
  it('should mock knex', async () => {
    await foo.func();
  });
});
