Small cleanup

This commit is contained in:
Nick Sandstrom 2026-05-28 18:44:20 -07:00
parent 284ba87fe7
commit cc59718997
2 changed files with 1 additions and 13 deletions

View file

@ -137,7 +137,7 @@ const User = ({ user = null, isOpen, onClose }) => {
const newKey = resp && (resp.key || resp.raw_key);
if (newKey) {
setGeneratedKey(newKey);
console.log(setUserAPIKey(newKey));
setUserAPIKey(newKey);
}
} catch {
// API shows notifications

View file

@ -801,18 +801,6 @@ describe('guideUtils', () => {
});
});
// ── evaluateSeriesRule ────────────────────────────────────────────────────
describe('evaluateSeriesRule', () => {
it('should evaluate series rule via API', async () => {
vi.mocked(API.evaluateSeriesRules).mockResolvedValue({});
await guideUtils.evaluateSeriesRulesByTvgId('tvg-1');
expect(API.evaluateSeriesRules).toHaveBeenCalledWith('tvg-1');
});
});
// ── calculateLeftScrollPosition ───────────────────────────────────────────
describe('calculateLeftScrollPosition', () => {