mirror of
https://github.com/dustinkeeton/obsidian-synapse.git
synced 2026-07-22 07:44:43 +00:00
- NotificationManager tracks concurrent operations with animated ellipsis, color-coded notices (progress/success/warning/error), and live status bar - Running operations are non-dismissible with an explicit Cancel button; clicking the notice background no longer silently hides it - Vault scan is now two-phase: lightweight detection pass, then a confirmation snackbar before heavy AI proposal generation - Graceful cancellation: cancelled operations auto-reject any proposals created during the run; batch transcriptions preserve partial work - Tests: 25 new tests for blockquoteOriginal and NotificationManager (state machine, cancellation, status bar, error redaction) - Fixed vitest config: obsidian alias replaces vi.mock for proper class instantiation in tests; Notice mock gains DOM-like stub methods Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 lines
340 B
TypeScript
16 lines
340 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
obsidian: path.resolve(__dirname, 'src/__mocks__/obsidian.ts'),
|
|
},
|
|
},
|
|
test: {
|
|
globals: true,
|
|
environment: 'node',
|
|
include: ['src/**/*.test.ts'],
|
|
setupFiles: ['./src/__test-utils__/setup.ts'],
|
|
},
|
|
});
|