feat: fix unit and add e2e test

This commit is contained in:
Richard Simpson
2019-09-20 17:11:09 -05:00
parent 0b17727b1c
commit 33ba690ebb
8 changed files with 180 additions and 97 deletions

View File

@@ -89,8 +89,9 @@ describe('exportSecrets', () => {
function mockVaultData(data) {
got.mockResolvedValue({
body: JSON.stringify({
data,
meta: {}
data: {
data
}
})
});
}