Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('formatted issue output should match mock formatted issues', () => {
const mock = fixtures.mock('api.github.com/search-issues')
const query = `sesame repo:octokit-fixture-org/search-issues`
const options = {
all: false,
search: query,
detailed: true,
}
Impl.prototype.search(null, null, callback, options, mock)
function callback(err, formattedIssues) {
expect(mockFormattedIssues).to.equal(formattedIssues)
}
})
})