fix: clear missing active vault paths

This commit is contained in:
lucaronin
2026-04-07 22:35:04 +02:00
parent b674d20a05
commit 63eedbdb91
4 changed files with 67 additions and 20 deletions

View File

@@ -94,9 +94,9 @@ describe('WelcomeScreen', () => {
expect(screen.getByText(/could not be found on disk/)).toBeInTheDocument()
})
it('shows the missing vault path in a badge', () => {
it('does not show the missing vault path in a badge', () => {
render(<WelcomeScreen {...missingProps} />)
expect(screen.getByText('~/Laputa')).toBeInTheDocument()
expect(screen.queryByText('~/Laputa')).not.toBeInTheDocument()
})
it('shows "Choose a different folder" instead of "Open existing vault"', () => {