bytecodealliance / bytecodealliance/ComponentizeJS

More granular features for stubbing

Ouverte
#274 9 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement feature/fetch-event feature/wasi
Langage dominant
Rust
Étoiles
391
Forks
53
Merge moyen
3 j 5 h
PR mergées (30 j)
1

Description

During a recent PR that patched a bug in feature-based WASI interface stubbing, the point of how to deal with outgoing-handler came up:

https://github.com/bytecodealliance/ComponentizeJS/pull/268#discussion_r2223776655

It *seems* like there are at least two solutions that could improve the ergonomics of stubbing:

- stubbing out `fetch()` itself via generated prelude to delete fetch
- more granular features to enable stubbing

Implementing this and avoiding introducing bugs probably requires a bunch of upfront work:

- Adding tests for all the current features & their usage (making sure existing stub combinations work)
- implementing the prelude changes
- adding & implementing the new granular features

Some of this work may overlap (and possibly resolve) #250

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.