Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
beforeEach(() => {
nock.cleanAll()
probot = new Probot({ githubToken: 'faketoken' })
const app = probot.load(projectBot)
// just return a test token
app.app = () => 'test'
})