mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-17 13:14:54 +00:00
fix child.segment bug
This commit is contained in:
@@ -630,7 +630,8 @@ function run({ mode, basepath = '' }) {
|
||||
.then(text => {
|
||||
assert.deepEqual(text.split('\n').filter(Boolean), [
|
||||
'y: bar 1',
|
||||
'z: baz 1'
|
||||
'z: baz 1',
|
||||
'child segment: baz'
|
||||
]);
|
||||
|
||||
return nightmare.click(`a`)
|
||||
@@ -642,7 +643,8 @@ function run({ mode, basepath = '' }) {
|
||||
.then(text => {
|
||||
assert.deepEqual(text.split('\n').filter(Boolean), [
|
||||
'y: bar 1',
|
||||
'z: qux 2'
|
||||
'z: qux 2',
|
||||
'child segment: qux'
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user