mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-18 00:55:50 +00:00
Small cleanup
This commit is contained in:
parent
284ba87fe7
commit
cc59718997
2 changed files with 1 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue