I finished the remaining polish so the admin app now feels fully “app‑like” across the core screens.
This commit is contained in:
9
resources/js/admin/mobile/lib/taskSummary.test.ts
Normal file
9
resources/js/admin/mobile/lib/taskSummary.test.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
import { buildTaskSummary } from './taskSummary';
|
||||
|
||||
describe('buildTaskSummary', () => {
|
||||
it('returns summary counts', () => {
|
||||
const summary = buildTaskSummary({ assigned: 3, library: 5, collections: 2, emotions: 4 });
|
||||
expect(summary).toEqual({ assigned: 3, library: 5, collections: 2, emotions: 4 });
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user