chore(release): 2.0.0, merge roles into SSA
Bump version to 2.0.0 (breaking: reporter, supervisor and capa_owner merged into ssa, routes moved under /ssa). Add 2.0.0 release notes to docs/CHANGELOG.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -62,7 +62,7 @@ describe('AppShell', () => {
|
||||
it('shows the user chip, version label, and logs out', async () => {
|
||||
render(<AppShell role="hse" userName="Ada Lovelace"><span /></AppShell>)
|
||||
expect(screen.getAllByText('AL').length).toBeGreaterThan(0)
|
||||
expect(screen.getByText('v1.2.2')).toBeTruthy()
|
||||
expect(screen.getByText('v2.0.0')).toBeTruthy()
|
||||
fireEvent.click(screen.getAllByRole('button', { name: /Log ?out/i })[0])
|
||||
await Promise.resolve()
|
||||
expect(fetch).toHaveBeenCalledWith('/api/auth/logout', { method: 'POST' })
|
||||
|
||||
Reference in New Issue
Block a user