Files
expo-cli/ts-declarations/react-native-community__cli-server-api
Kudo Chien de7089f7ae [dev-server] Add /inspector to for querying or opening js inspector (#3495)
# Why

For dev-menu to launch Hermes inspector.

# How

Through from metro-inspector-proxy (http://localhost:8081/json/list), we could get the url to open inspector. This requires manual steps to open inspector.
In this PR, we will launch chromium to open the inspector automatically.

# Test Plan

### Unit Test

```
  createJsInspectorMiddleware
    should return specific app entity for GET request with given applicationId (5 ms)
    should return 404 for GET request with nonexistent applicationId (1 ms)
    should return 400 for GET request without parameters
    should open browser for PUT request with given applicationId (14 ms)
```
2021-05-29 02:06:27 +08:00
..