feat: add state for global mode (#18085)

* add state for global mode

* use GlobalEmpty over GlobalPage

* Add comment to clarify global type

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>

* Update server.ts

* make global non nullable

* move GlobalEmpty to Main.vue

* update ClientTestContext to have global

Co-authored-by: Jessica Sachs <jess@jessicasachs.io>
This commit is contained in:
Cesar
2021-09-14 17:40:06 -07:00
committed by GitHub
parent efe6d40028
commit 1762caccd8
10 changed files with 41 additions and 13 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ function runServer () {
child.removeAllListeners()
}
child = childProcess.fork(path.join(__dirname, 'start.js'), ['--devWatch'], {
child = childProcess.fork(path.join(__dirname, 'start.js'), [...process.argv, '--devWatch'], {
stdio: 'inherit',
})