feat: remove Canvas inspiration entry

This commit is contained in:
inman committed 2026-09-07 10:06:38 +08:00
1 parent f8eee430f4
commit b22559a596
11 files changed
+126 -98

No files matched your search

@@ -94,6 +94,14 @@ describe('App programming provider initialization gate', () => {
await waitFor(() => expect(initProviders).toHaveBeenCalledTimes(1));
});
it('redirects the retired inspiration route to the Canvas workspace', async () => {
await renderAt('/image-prompts/example');
expect(await screen.findByText('Canvas workspace')).toBeInTheDocument();
expect(screen.queryByText('Module chooser')).not.toBeInTheDocument();
expect(initProviders).not.toHaveBeenCalled();
});
it('redirects an orphaned token without a user identity away from a direct workspace route', async () => {
useAuthStore.setState({
initialized: true,