forked from mirror/crumbs-original
fix: address PR review comments
- Wrap readFile in try/catch, return 404 for missing attachment files - Remove unused CollaboratorPopover import from NoteCard - Make darkMode a proper $state rune for reactivity (add svelte-runes polyfill for Vitest so $state works in unit tests) - Add error toasts for failed share link toggle (non-2xx responses) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
Fred Cabassut
co-authored by
Claude Opus 4.6
parent
552c2b6265
commit
4eb97b86f9
@@ -11,6 +11,7 @@ export default defineConfig({
|
||||
test: {
|
||||
include: ['src/**/*.test.ts'],
|
||||
environment: 'node',
|
||||
setupFiles: ['src/lib/__mocks__/svelte-runes.ts'],
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'html', 'lcov', 'json-summary'],
|
||||
|
||||
Reference in New Issue
Block a user