Skip to content

Commit

Permalink
chore: address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
maliroteh-sf committed May 30, 2024
1 parent 3b77093 commit 9ee713d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/unit/common/CommonUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ class MemoryWriteStream extends stream.Writable {
callback();
}

// eslint-disable-next-line @typescript-eslint/no-unused-vars
public close(callback?: ((err?: NodeJS.ErrnoException | null | undefined) => void) | undefined): void {
public close(): void {
// no-op
}
}
Expand Down Expand Up @@ -207,7 +206,7 @@ describe('CommonUtils', () => {
);
return { on: () => {}, end: () => {} };
});
await CommonUtils.downloadFile('https://www.google.com', downloadDestinationFile);
await CommonUtils.downloadFile('https://www.salesforce.com', downloadDestinationFile);
expect(unlinkStub.called).to.be.false;
expect(writeStreamMock.getData()).to.equal('Test Content');
});
Expand Down

0 comments on commit 9ee713d

Please sign in to comment.