mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-13 11:35:28 +00:00
fix fallback index file
This commit is contained in:
@@ -659,6 +659,14 @@ function run({ mode, basepath = '' }) {
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
it('uses a fallback index component if none is provided', () => {
|
||||
return nightmare.goto(`${base}/missing-index/ok`)
|
||||
.page.title()
|
||||
.then(title => {
|
||||
assert.equal(title, 'it works');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('headers', () => {
|
||||
|
||||
Reference in New Issue
Block a user