mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-12 03:05:12 +00:00
minor tidy up
This commit is contained in:
@@ -746,7 +746,7 @@ function run({ mode, basepath = '' }) {
|
||||
|
||||
it('allows reserved words as route names', () => {
|
||||
return nightmare.goto(`${base}/const`).init()
|
||||
.then(() => nightmare.page.title())
|
||||
.page.title()
|
||||
.then(title => {
|
||||
assert.equal(title, 'reserved words are okay as routes');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user