typelevel / typelevel/feral

Create `JSEnv` for miniflare

Open
#141 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cloudflare workers enhancement
Dominant language
Scala
Stars
195
Forks
53
PR merge metrics
No merged PRs in 30d

Description

https://miniflare.dev/
https://github.com/scala-js/scala-js-js-envs/

This is a yak, but seems conceptually similar to the JSDOM environment: a sandbox inside Node.js. Once we have this we can run tests suites as if they are running inside a worker which will be phenomenal.

We'll want to publish this one so downstreams can also test their workers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Miniflare documentation and the scala-js/scala-js-js-envs project linked in the issue, then compare them with the existing JSDOM environment. Done means a published JSEnv for Miniflare that can run test suites as if they are inside a worker and is usable by downstream projects.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, scala
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.