mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-09 08:06:55 +00:00
fix e2e test 2
This commit is contained in:
parent
d75da9fb40
commit
4827f717ff
1 changed files with 3 additions and 2 deletions
|
|
@ -12,9 +12,10 @@ describe('e2e', () => {
|
|||
expect(process.env.SUBSEQUENT_TEST_SECRET).toBe("SUBSEQUENT_TEST_SECRET");
|
||||
|
||||
const jsonString = '{"x":1,"y":"qux"}';
|
||||
expect(process.env.JSON_DATA).toBe(jsonString);
|
||||
|
||||
let jsonResult = JSON.stringify(jsonString);
|
||||
|
||||
expect(process.env.JSON_DATA).toBe(jsonResult);
|
||||
|
||||
jsonResult = jsonResult.substring(1, jsonResult.length - 1);
|
||||
expect(process.env.JSON_STRING).toBe(jsonResult);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue