protocolbuffers / protocolbuffers/protobuf-javascript
Generated output is incompatible with Jest (again)
Abierto
@dibenede ya está trabajando en esto.
Desde el 2/11/2022.
bug
triaged
- Lenguaje dominante
- JavaScript
- Estrellas
- 471
- Forks
- 91
- Merge medio
- 3 h 57 min
- PR fusionados (30 d)
- 2
Descripción
This is the same issue as https://github.com/protocolbuffers/protobuf/issues/9152, which was notionally fixed in https://github.com/protocolbuffers/protobuf/pull/9156. However, it seems that as of 3.20.3 the output is (still? again?) the Jest-incompatible
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
For now I've rolled back to 3.11.2 which emits the compatible
var global = Function('return this')();
but this isn't a great long-term solution.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.