mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
chore: remove unused eslint-disable directives
This commit is contained in:
parent
1f7f51531c
commit
36437b8189
2 changed files with 0 additions and 3 deletions
|
|
@ -23,7 +23,6 @@ export const loadSharp = async (): Promise<Sharp> => {
|
|||
try {
|
||||
cached = resolveModule(await import('sharp'));
|
||||
} catch {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('sharp not found, installing (dev-only screenshot tool)...');
|
||||
execSync('npm install --no-save --no-package-lock sharp', { stdio: 'inherit' });
|
||||
cached = resolveModule(await import('sharp'));
|
||||
|
|
|
|||
|
|
@ -56,7 +56,6 @@ describe('auto-fix data-loss for timeSpentOnDay nulls', () => {
|
|||
]);
|
||||
|
||||
const v = result.task.entities.t1.timeSpentOnDay['2026-05-21'];
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('auto-fix result:', v);
|
||||
expect(v).toBe(0);
|
||||
// the good day survives
|
||||
|
|
@ -132,7 +131,6 @@ describe('auto-fix data-loss for timeSpentOnDay nulls', () => {
|
|||
),
|
||||
];
|
||||
const result: any = autoFixTypiaErrors(data, errors);
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('4-error result:', JSON.stringify(result, null, 2));
|
||||
expect(result.task.entities.t1.timeSpentOnDay['2026-05-20']).toBe(0);
|
||||
expect(result.task.entities.t1.timeSpentOnDay['2026-05-21']).toBe(0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue