mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-14 03:54:46 +00:00
add server- and client-side store management (#178)
This commit is contained in:
@@ -521,6 +521,18 @@ function run({ mode, basepath = '' }) {
|
||||
assert.equal(title, '42');
|
||||
});
|
||||
});
|
||||
|
||||
it('renders store props', () => {
|
||||
return nightmare.goto(`${base}/store`)
|
||||
.page.title()
|
||||
.then(title => {
|
||||
assert.equal(title, 'Stored title');
|
||||
return nightmare.init().page.title();
|
||||
})
|
||||
.then(title => {
|
||||
assert.equal(title, 'Stored title');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('headers', () => {
|
||||
|
||||
Reference in New Issue
Block a user