mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-14 20:14:39 +00:00
pass response object to store getter - fixes #344
This commit is contained in:
@@ -581,11 +581,11 @@ function run({ mode, basepath = '' }) {
|
||||
return nightmare.goto(`${base}/store`)
|
||||
.page.title()
|
||||
.then(title => {
|
||||
assert.equal(title, 'Stored title');
|
||||
assert.equal(title, 'hello world');
|
||||
return nightmare.init().page.title();
|
||||
})
|
||||
.then(title => {
|
||||
assert.equal(title, 'Stored title');
|
||||
assert.equal(title, 'hello world');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user