Skip to content

Commit 9434207

Browse files
nicohrubecclaude
andcommitted
test: Remove redundant static route matching test
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e476823 commit 9434207

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

packages/tanstackstart-react/test/server/routeParametrization.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ describe('matchUrlToRoutePattern', () => {
2020
expect(matchUrlToRoutePattern('/users/123/posts/456', patterns)).toBe('/users/$userId/posts/$postId');
2121
});
2222

23-
it('matches a static API route', () => {
24-
expect(matchUrlToRoutePattern('/api/health', patterns)).toBe('/api/health');
25-
});
26-
2723
it('returns undefined for unmatched paths', () => {
2824
expect(matchUrlToRoutePattern('/unknown', patterns)).toBeUndefined();
2925
});

0 commit comments

Comments
 (0)