From 2de9626e7436db9e9930a318d46e3d760a1decac Mon Sep 17 00:00:00 2001 From: Salakar Date: Sun, 25 Mar 2018 03:49:52 +0100 Subject: [PATCH] [tests] new test infra - start of bridge cleanup --- tests-new/bridge/env/node/vm.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests-new/bridge/env/node/vm.js b/tests-new/bridge/env/node/vm.js index dd0c2437..a9e30545 100644 --- a/tests-new/bridge/env/node/vm.js +++ b/tests-new/bridge/env/node/vm.js @@ -1,6 +1,7 @@ /* eslint-disable guard-for-in,no-restricted-syntax,no-return-assign */ const url = require('url'); const http = require('http'); +const chalk = require('chalk'); const invariant = require('assert'); const { Script } = require('vm'); const context = require('./context'); @@ -45,7 +46,13 @@ async function downloadBundle(bundleUrl) { async function getBundle(request) { if (bundle) return bundle; - console.log('Downloading app bundle...'); + console.log(''); + console.log( + `${chalk.blue( + '[bridge]' + )} debugger has connected! Downloading app JS bundle...` + ); + console.log(''); const parsedUrl = url.parse(request.url, true); invariant(parsedUrl.query);