Switch from eslint to oxlint

Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-03-30 14:27:16 -05:00
committed by GitHub
parent 707921b9be
commit 806a66e006
606 changed files with 6026 additions and 3790 deletions

View File

@@ -17,14 +17,14 @@ describe('clearTimeoutIfNecessary', () => {
});
it('does nothing if passed `null` or `undefined`', () => {
sandbox.stub(global, 'clearTimeout');
sandbox.stub(global, 'clearInterval');
sandbox.stub(globalThis, 'clearTimeout');
sandbox.stub(globalThis, 'clearInterval');
clearTimeoutIfNecessary(undefined);
clearTimeoutIfNecessary(null);
sinon.assert.notCalled(global.clearTimeout as sinon.SinonSpy);
sinon.assert.notCalled(global.clearInterval as sinon.SinonSpy);
sinon.assert.notCalled(globalThis.clearTimeout as sinon.SinonSpy);
sinon.assert.notCalled(globalThis.clearInterval as sinon.SinonSpy);
});
it('clears timeouts', async () => {