1 | ;
|
2 |
|
3 | Object.defineProperty(exports, '__esModule', {
|
4 | value: true
|
5 | });
|
6 | exports.default = logDebugMessages;
|
7 |
|
8 | /**
|
9 | * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
10 | *
|
11 | * This source code is licensed under the MIT license found in the
|
12 | * LICENSE file in the root directory of this source tree.
|
13 | */
|
14 | const VERSION = require('../../package.json').version; // if the output here changes, update `getConfig` in e2e/runJest.ts
|
15 |
|
16 | function logDebugMessages(globalConfig, configs, outputStream) {
|
17 | const output = {
|
18 | configs,
|
19 | globalConfig,
|
20 | version: VERSION
|
21 | };
|
22 | outputStream.write(JSON.stringify(output, null, ' ') + '\n');
|
23 | }
|