Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-vrijswijk authored and renovate[bot] committed May 13, 2024
1 parent 4f55491 commit 6e6f366
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/elements/src/lib/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export function isLocalStorageAvailable() {
localStorage.setItem(test, test);
localStorage.removeItem(test);
return true;
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (e) {
return false;
}
Expand Down
2 changes: 2 additions & 0 deletions packages/real-time/test/unit/mutation-event-sender.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,11 @@ describe(MutationEventSender.name, () => {
responseMock.flush = sinon.stub();

sut.sendMutantTested({ id: '1', status: 'Pending' });
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
sinon.assert.calledOnce(responseMock.flush);

sut.sendFinished();
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
sinon.assert.calledTwice(responseMock.flush);
});
});

0 comments on commit 6e6f366

Please sign in to comment.