docs: web comments say what the app does, not how it came to be (#6277)
Rewrites the web app's comments to rule 32. Task, milestone, rule and spec ids are gone; regression stories are restated as the trap they guard (public auth routes, the menu's stopPropagation, universal loads under adapter-static, metric deltas with their margin). Flutter and Tauri mentions now name the Android app or a native shell, operator quotes and dates are dropped, and one library's counts no longer appear outside test fixtures. Verified with a TypeScript-scanner token comparison (template literals and regex literals re-scanned): only comment text changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,8 +2,8 @@ import { describe, expect, test, vi } from 'vitest';
|
||||
import { goto } from '$app/navigation';
|
||||
import { page } from '$app/state';
|
||||
|
||||
// Guards the suite-wide $app mocks in vitest.setup.ts (#3943). If they are
|
||||
// removed, tests that never mock $app themselves go back to loading
|
||||
// Guards the suite-wide $app mocks in vitest.setup.ts. If they are
|
||||
// removed, tests that never mock $app themselves load
|
||||
// SvelteKit's client runtime, which fails at module load on some CI runs.
|
||||
describe('suite-wide SvelteKit app-module mocks', () => {
|
||||
test('$app/navigation is the mock, not the client runtime', () => {
|
||||
|
||||
Reference in New Issue
Block a user