We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ddff88 commit 1a69ebdCopy full SHA for 1a69ebd
tests/js/route.test.js
@@ -1513,7 +1513,8 @@ describe('current()', () => {
1513
});
1514
1515
test('url containing raw hash', () => {
1516
- // This specific case doesn't really matter because it's not valid, # is a URL anchor and can't be in the path like this
+ // This specific case may not matter because it's not valid, # is a URL anchor and
1517
+ // can't be in the path like this, but in general this should work both ways
1518
global.window.location.pathname = '/slashes/foo/Arcbees_c#_doc.md';
1519
1520
expect(route().current()).toBe('slashes');
0 commit comments