diff --git a/test/unit/util/html.js b/test/unit/util/html.js index 31b946abc..e45d9c771 100644 --- a/test/unit/util/html.js +++ b/test/unit/util/html.js @@ -27,9 +27,45 @@ describe('util/html', () => { describe('safeNextPathFrom()', () => { [ - [ '/-/xyz', 'http://localhost:8989/-/xyz' ], // eslint-disable-line no-multi-spaces - [ '/account/edit', '/#/account/edit' ], // eslint-disable-line no-multi-spaces - [ '/users', '/#/users' ], // eslint-disable-line no-multi-spaces + // odk-central-frontend + [ '/account/edit', '/#/account/edit' ], // eslint-disable-line no-multi-spaces + [ '/users', '/#/users' ], // eslint-disable-line no-multi-spaces + [ '/users"> { it(`should convert next=${next} to ${expected}`, () => { safeNextPathFrom(next).should.equal(expected);