Refactor main.js for test coverage

This commit is contained in:
Thomas Hughes
2019-09-27 14:19:53 -05:00
parent fe2c2b435f
commit 8d93430edd
5 changed files with 108 additions and 99 deletions

View File

@@ -3,7 +3,7 @@ jest.mock('@actions/github');
const core = require('@actions/core');
const { GitHub, context } = require('@actions/github');
const run = require('../src/main.js');
const run = require('../src/create-release.js');
/* eslint-disable no-undef */
describe('Create Release', () => {