mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-17 05:04:55 +00:00
URI-encodes routes - fixes #103
This commit is contained in:
@@ -400,6 +400,14 @@ function run(env) {
|
||||
assert.equal(text, 'nope');
|
||||
});
|
||||
});
|
||||
|
||||
it('encodes routes', () => {
|
||||
return nightmare.goto(`${base}/fünke`)
|
||||
.page.title()
|
||||
.then(title => {
|
||||
assert.equal(title, `I'm afraid I just blue myself`);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('headers', () => {
|
||||
|
||||
Reference in New Issue
Block a user