fix(everything): require key parameter for get-env tool to prevent env leakage #7957
Annotations
5 errors
|
Test everything
Process completed with exit code 1.
|
|
__tests__/tools.test.ts > Tools > get-env > should return valid JSON:
src/everything/__tests__/tools.test.ts#L178
AssertionError: expected [Function] to not throw an error but 'SyntaxError: Unexpected token \'P\', …' was thrown
- Expected:
undefined
+ Received:
"SyntaxError: Unexpected token 'P', \"PATH=/home\"... is not valid JSON"
❯ __tests__/tools.test.ts:178:60
|
|
__tests__/tools.test.ts > Tools > get-env > should return all environment variables as JSON:
src/everything/__tests__/tools.test.ts#L165
SyntaxError: Unexpected token 'T', "TEST_VAR_E"... is not valid JSON
❯ __tests__/tools.test.ts:165:28
|
|
Test filesystem
The strategy configuration was canceled because "test.everything" failed
|
|
Test filesystem
The operation was canceled.
|