fix: fix got not being use correctly and path prefix

This commit is contained in:
Richard Simpson 2020-03-31 12:15:12 -05:00
parent 0e719ef42a
commit ed8303ca53
3 changed files with 12 additions and 13 deletions

View file

@ -212,7 +212,7 @@ describe('authenticate with approle', () => {
jest.resetAllMocks();
when(core.getInput)
.calledWith('method')
.calledWith('method', expect.anything())
.mockReturnValueOnce('approle');
when(core.getInput)
.calledWith('roleId')
@ -228,7 +228,7 @@ describe('authenticate with approle', () => {
.mockReturnValueOnce('ns2');
});
it('authenticate with approle', async()=> {
it.only('authenticate with approle', async() => {
mockInput('test secret');
await exportSecrets();