fix tests and add caching

This commit is contained in:
Richard Simpson 2019-11-24 15:48:24 -06:00
parent 16e4be0a47
commit 664ab03930
4 changed files with 52 additions and 33 deletions

View file

@ -1,9 +1,9 @@
jest.mock('@actions/core');
jest.mock('@actions/core/lib/command');
const core = require('./@actions/core');
const core = require('@actions/core');
const got = require('./got');
const { when } = require('./jest-when');
const got = require('got');
const { when } = require('jest-when');
const { exportSecrets } = require('../../action');