Skip to content

Commit

Permalink
fix: process.env restoration
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal committed Apr 12, 2021
1 parent 8f69d9b commit c42d413
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ describe('lambda handler', () => {
require(path.resolve(__dirname, '..', module));

beforeEach(() => {
oldEnv = process.env;
oldEnv = { ...process.env };
process.env.LAMBDA_TASK_ROOT = path.resolve(__dirname, '..');
});

Expand Down

0 comments on commit c42d413

Please sign in to comment.