Skip to content

Commit 719b149

Browse files
committed
test: Fix 'scope' test names
1 parent 56d6cb7 commit 719b149

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/router.test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ describe('Router', () => {
635635
}
636636
});
637637

638-
it('should allow default browser navigation for links not matching the `limit` props (string)', async () => {
638+
it('should allow default browser navigation for links not matching the `scope` props (string)', async () => {
639639
render(
640640
<LocationProvider scope="app">
641641
<Links />
@@ -655,7 +655,7 @@ describe('Router', () => {
655655
}
656656
});
657657

658-
it('should intercept clicks on links matching the `limit` props (regex)', async () => {
658+
it('should intercept clicks on links matching the `scope` props (regex)', async () => {
659659
render(
660660
<LocationProvider scope={/^\/app/}>
661661
<Links />
@@ -676,7 +676,7 @@ describe('Router', () => {
676676
}
677677
});
678678

679-
it('should allow default browser navigation for links not matching the `limit` props (regex)', async () => {
679+
it('should allow default browser navigation for links not matching the `scope` props (regex)', async () => {
680680
render(
681681
<LocationProvider scope={/^\/app/}>
682682
<Links />

0 commit comments

Comments
 (0)