Skip to content

Commit

Permalink
chore: Removing unused ignore and adding it to uncoverable path.
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed Nov 9, 2023
1 parent c75a88b commit 4ea9ef0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ function mockServiceMethod(
tryResolveFromStored();
return promise;
}
: undefined,
/* istanbul ignore next */ : undefined,
createReadStream: function () {
if (storedResult instanceof Readable) {
return storedResult;
Expand Down Expand Up @@ -522,7 +522,6 @@ function restoreMethod<C extends ClientName, M extends MethodName<C>>(service: C

(function () {
const setPromisesDependency = _AWS.config.setPromisesDependency;
/* istanbul ignore next */
/* only to support for older versions of aws-sdk */
if (typeof setPromisesDependency === "function") {
AWS.Promise = global.Promise;
Expand Down

0 comments on commit 4ea9ef0

Please sign in to comment.