diff --git a/__tests__/integration.js b/__tests__/integration.js index 7b2c4d8..b5e2f3a 100644 --- a/__tests__/integration.js +++ b/__tests__/integration.js @@ -14,7 +14,7 @@ const apiWrapper = new ApiWrapper({ octokit }); const rpm = new RepositoryProjectsManager({ apiWrapper, ownerName: 'acme', repositoryName: 'example-repository' }); -let server; +let server = null; const mock = ({ action, matcher, data }) => { const actions = { diff --git a/__tests__/projects.js b/__tests__/projects.js index 8ffea23..f2aada7 100644 --- a/__tests__/projects.js +++ b/__tests__/projects.js @@ -4,7 +4,7 @@ import { ApiWrapper } from '../apiwrapper'; import { RepositoryProjectsManager } from '../projects.js'; // eslint-disable-line import/extensions describe('RepositoryProjectsManager.assing() posts requests to the API', () => { - let rpm; + let rpm = null; beforeEach(() => { const apiWrapper = new ApiWrapper({ octokit: null }); @@ -121,7 +121,7 @@ describe('RepositoryProjectsManager.assing() posts requests to the API', () => { }); describe('RepositoryProjectsManager.assing() posts requests to the API', () => { - let rpm; + let rpm = null; beforeEach(() => { const apiWrapper = new ApiWrapper({ octokit: null });