Skip to content

Commit

Permalink
Update lib/sinon/sandbox.js
Browse files Browse the repository at this point in the history
Co-authored-by: Phred Lane <fearphage@gmail.com>
  • Loading branch information
mroderick and fearphage committed Apr 1, 2023
1 parent 7b1cd2d commit 4e7af0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sinon/sandbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function Sandbox() {
delete sandbox.injectInto[injectedKey];
});

sandbox.injectedKeys = [];
sandbox.injectedKeys.length = 0;
};

function getFakeRestorer(object, property) {
Expand Down

0 comments on commit 4e7af0e

Please sign in to comment.