mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-14 07:46:52 +00:00
fix test string format
This commit is contained in:
parent
8e836c6e8e
commit
ccc7cef6eb
2 changed files with 5 additions and 10 deletions
|
|
@ -11,8 +11,8 @@ describe('e2e', () => {
|
|||
expect(process.env.NAMED_CUBBYSECRET).toBe("zap");
|
||||
expect(process.env.SUBSEQUENT_TEST_SECRET).toBe("SUBSEQUENT_TEST_SECRET");
|
||||
expect(process.env.JSONSTRING).toBe('{"x":1,"y":"qux"}');
|
||||
expect(process.env.JSONSTRINGMULTILINE).toBe('{"x":1,"y":"q\\nux"}');
|
||||
expect(process.env.JSONDATA).toBe('{"x":1,"y":"qux"}');
|
||||
expect(process.env.JSONSTRINGMULTILINE).toBe('{"x": 1, "y": "q\\nux"}');
|
||||
expect(process.env.JSONDATA).toBe('{"x": 1, "y": "qux"}');
|
||||
});
|
||||
|
||||
it('verify jsonstring', () => {
|
||||
|
|
@ -22,6 +22,6 @@ describe('e2e', () => {
|
|||
expect(process.env.JSONSTRINGMULTILINE).toBe('{"x":1,"y":"q\\nux"}');
|
||||
});
|
||||
it('verify jsondata', () => {
|
||||
expect(process.env.JSONDATA).toBe('{"x":1,"y":"qux"}');
|
||||
expect(process.env.JSONDATA).toBe('{"x": 1, "y": "qux"}');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue