Skip to content

Commit

Permalink
Fix tests by assuming that even an invalid HTML path starts with '/'
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jul 11, 2024
1 parent 4c48785 commit f9155ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/navigator/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
import type { NavigateOptions } from '../types';

const INVALID_HTML_ATTRIBUTE = {
raw: ' "\'><=invalid_path',
raw: '/ "\'><=invalid_path',
escaped: " &quot;'&gt;<=invalid_path",
};

Expand Down

0 comments on commit f9155ed

Please sign in to comment.