Files
Ruslan LesiutinandGitHub 3ea43bdd38 [react-devtools-cdt-mcp] add chrome-devtools E2E coverage (#36823)
A node runner that bootstraps `fixtures/app`, and then uses
`chrome-devtools` CLI to test third-party tools.

```
$ node e2e/run.js
Starting fixture at http://127.0.0.1:60033/
Starting chrome-devtools daemon...
Checking third-party tool discovery...
Checking tree, details, search, and DOM lookup...
Checking source, owners, and error payloads...
Checking profiling through a real CLI click...
react-devtools-cdt-mcp E2E passed.
✨  Done in 11.66s.
```
2026-07-01 19:02:36 +04:00

24 lines
528 B
JavaScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
require('@babel/register')({
babelrc: false,
configFile: false,
extensions: ['.js'],
only: [__dirname],
plugins: ['@babel/plugin-transform-flow-strip-types'],
});
require('./run.flow')
.main()
.catch(error => {
process.stderr.write(`${error.stack || error.message}\n`);
process.exitCode = 1;
});