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 1a6ecf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/navigator/test/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import {
import type { NavigateOptions } from '../types';

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

const PATHS = {
Expand Down

0 comments on commit 1a6ecf2

Please sign in to comment.