api: testing procedure for cloudflare worker
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 88
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
Basically this looks like:
1. Compile everything into a single file (`yarn run prepare:worker`)
2. Boot up that worker with `@dollarshaveclub/cloudworker`
3. Run the full test suite with that as the server, the same way we do with Level and Postgres and such so far
4. Shut down the server
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the prepare:worker script and the existing test setup for Level and Postgres. Trace how the full suite starts and stops those servers, then determine how to compile the worker, boot it with @dollarshaveclub/cloudworker, run the full suite against it, and shut it down cleanly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cloud, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100