chore: Enforce a few house rules via eslint (#2539)

This commit is contained in:
Dermot Duffy
2026-06-30 17:45:13 -07:00
committed by dermotduffy
parent 5572ec728e
commit 921d45e577
100 changed files with 479 additions and 295 deletions
@@ -771,7 +771,7 @@ describe('SignedURLController', () => {
controller.hostUpdate();
expect(createProxiedEndpointIfNecessary).toHaveBeenCalledTimes(1);
// Resolve the original request — should still succeed.
// Resolve the original request -- should still succeed.
resolveProxy?.({ endpoint: 'http://proxied-url.com', sign: false });
await flushPromises();
@@ -809,7 +809,7 @@ describe('SignedURLController', () => {
expect(createProxiedEndpointIfNecessary).toHaveBeenCalledTimes(1);
expect(controller.getValue()).toBe('http://signed.com');
// Change only the extraneous field — should hit the cache, not re-fetch.
// Change only the extraneous field -- should hit the cache, not re-fetch.
extraneous = false;
await controller.hostUpdate();
expect(createProxiedEndpointIfNecessary).toHaveBeenCalledTimes(1);