tests: fix test session (no root or tab widget in tab)
This commit is contained in:
parent
6601d9f3c4
commit
e80e6c74f7
1 changed files with 4 additions and 1 deletions
|
|
@ -10,7 +10,10 @@ require('../scripts/client-shim')
|
|||
|
||||
var {widgets} = require('../src/client/app/widgets')
|
||||
for (let type in widgets) {
|
||||
session.tabs[0].widgets.push({type: type})
|
||||
if (type !== 'tab' && type !== 'root') {
|
||||
console.log(type)
|
||||
session.tabs[0].widgets.push({type: type})
|
||||
}
|
||||
}
|
||||
|
||||
fs.writeFileSync(sessionPath, JSON.stringify(session))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue