Merge branch 'izzy/gql-subscriptions' of https://github.com/Speckle-Next/Server into izzy/gql-subscriptions

This commit is contained in:
izzy lyseggen
2020-08-20 15:26:30 +01:00
4 changed files with 789 additions and 5 deletions
+8 -1
View File
@@ -56,7 +56,14 @@ describe( 'GraphQL API Subscriptions', ( ) => {
await knex.migrate.latest( )
const childProcess = require( 'child_process' )
serverProcess = childProcess.exec( "npm run dev:server:test" )
serverProcess = childProcess.exec( "npm run dev:server:test", ( error, stdout, stderr ) => {
if ( error ) {
console.error( `exec error: ${error}` )
return
}
console.log( `stdout: ${stdout}` )
console.error( `stderr: ${stderr}` )
} )
await sleep( 2000 )