Commit Graph

5 Commits

Author SHA1 Message Date
Luke De Feo
1b02f105dc Add config for vscode-jest extension
Summary:
Provides a much nicer devx, shows test pass / failure in the editor and error messages in line

https://pxl.cl/25G0x

When the extension is installed with this config it will watch all test and run what is needed, automatically updating the editor with test status

It also supports debugging tests individually right in the editor

see https://github.com/jest-community/vscode-jest for full docs

Also Once VS code @ fb is updated to a newer base of vscode, we will get access to to the testing sidebar feature

https://pxl.cl/25G0R

Reviewed By: lblasa, aigoncharov

Differential Revision: D37009812

fbshipit-source-id: e1918a0817d4703089b6300840fcf9564b871682
2022-07-07 07:50:14 -07:00
Michel Weststrate
73c6e8ee05 Make flipper server debuggable
Summary: This diffs adds debugging support to flipper server, by adding VSCode config for it

Reviewed By: timur-valiev, aigoncharov

Differential Revision: D32982874

fbshipit-source-id: 8e187ad05a05566a598db04b97e8b08e3de7e835
2021-12-13 05:48:16 -08:00
Anton Nikolaev
f58e5ef7c9 Updated launch.json to pass TZ=Pacific/Pohnpei on debugging jest tests in VSCode
Summary: Running jests tests now requires TZ to be set, so updated launch.json to pass it when debugging is started in VSCode.

Reviewed By: mweststrate

Differential Revision: D29162031

fbshipit-source-id: 7e767563dd2545f79603ef6a203601056f47414f
2021-06-17 07:39:43 -07:00
Anton Nikolaev
74d8da7c4b VSCode settings
Summary:
1) Add VSCode settings to the source control, so users won't need to configure them
2) Copy VSCode settings to both "sonar" and "sonar/desktop" folders so both folders can be opened for development

Reviewed By: passy

Differential Revision: D20594643

fbshipit-source-id: 4331659008e4dbf9dfcc44a3723ab0612a3bd333
2020-03-23 04:29:08 -07:00
Anton Nikolaev
85c13bb1f3 Move desktop-related code to "desktop" subfolder (#872)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/872
Move all the JS code related to desktop app to "desktop" subfolder.

The structure of "desktop" folder:
- `src` - JS code of Flipper desktop app executing in Electron Renderer (Chrome) process. This folder also contains all the Flipper plugins in subfolder "src/plugins".
- `static` - JS code of Flipper desktop app bootstrapping executing in Electron Main (Node.js) process
- `pkg` - Flipper packaging lib and CLI tool
- `doctor` - Flipper diagnostics lib and CLI tool
- `scripts` - Build scripts for Flipper desktop app
- `headless` - Headless version of Flipper app
- `headless-tests` - Integration tests running agains Flipper headless version

Reviewed By: passy

Differential Revision: D20249304

fbshipit-source-id: 9a51c63b51b92b758a02fc8ebf7d3d116770efe9
2020-03-14 14:35:17 -07:00