sapling/addons/isl-server
Evan Krause debccaa055 Add tests for run-proxy
Summary:
Add tests for run-proxy. This whole area was previously not tested, despite  being the main entry point for `sl web` and having quite complicated stuff going on.

These tests aren't even perfect, there's some stuff that's not getting tested by this, and there's lots of code paths that are uncovered. But it's better than nothing and lets us add more later.

I also had to move some bits and pieces around to make the tests happy (notably for mocking I needed to import some functions differently, which is annoying)

Reviewed By: bolinfest

Differential Revision: D42561949

fbshipit-source-id: e5830038a502f84cd87bc436a7c1064c564de338
2023-01-18 16:46:53 -08:00
..
platform Re-sync with internal repository 2022-11-15 00:48:09 -08:00
proxy Add tests for run-proxy 2023-01-18 16:46:53 -08:00
src Add server-side support to delete files from the file system 2023-01-12 16:40:50 -08:00
.gitignore Re-sync with internal repository 2022-11-15 00:48:09 -08:00
codegen.github.yml Re-sync with internal repository 2022-11-15 00:48:09 -08:00
codegen.js Re-sync with internal repository 2022-11-15 00:48:09 -08:00
jest.config.js Re-sync with internal repository 2022-11-15 00:48:09 -08:00
package.json Re-sync with internal repository 2022-11-15 00:48:09 -08:00
README.md Re-sync with internal repository 2022-11-15 00:48:09 -08:00
tsconfig.json Re-sync with internal repository 2022-11-15 00:48:09 -08:00
webpack.config.ts Re-sync with internal repository 2022-11-15 00:48:09 -08:00

isl-server

This is the server-side code for Interactive Smartlog. It handles running commands and reporting information to the UI.

The server code is bundled with webpack directly into the entry points using it.

Currently, the only entry point for the server is proxy/run-proxy.ts, but other entry points in the future will include the vscode extension host.

See isl/README.md for more information.

graphql codegen

Types and queries used to interact with GitHub is generated using yarn codegen. Re-run this any time you change src/github/queries.