mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
debccaa055
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 |
||
---|---|---|
.. | ||
platform | ||
proxy | ||
src | ||
.gitignore | ||
codegen.github.yml | ||
codegen.js | ||
jest.config.js | ||
package.json | ||
README.md | ||
tsconfig.json | ||
webpack.config.ts |
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
.