mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
empty path added to board path tests
This commit is contained in:
parent
0eaaad35b1
commit
b902ff185e
1 changed files with 5 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ describe('routesRegexp', () => {
|
|||
});
|
||||
|
||||
describe('board route regexp', () => {
|
||||
it('match empty path', async () => {
|
||||
expect(Array.from(''.match(routesRegexp.board.regexp)))
|
||||
.toEqual(['']);
|
||||
});
|
||||
|
||||
it('match /', async () => {
|
||||
expect(Array.from('/'.match(routesRegexp.board.regexp)))
|
||||
.toEqual(['/']);
|
||||
|
|
|
|||
Loading…
Reference in a new issue