mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-16 04:44:35 +00:00
Merge pull request #350 from sveltejs/gh-344
pass response object to store getter
This commit is contained in:
@@ -608,11 +608,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