jestjs/jest

ESM Modules implementations leak memory

Open

#9959 aperta il 3 mag 2020

Vedi su GitHub
 (4 commenti) (4 reazioni) (0 assegnatari)TypeScript (6653 fork)batch import
:bug: BugES ModulesHelp WantedPinnedUpstream Bug

Metriche repository

Star
 (45.361 star)
Metriche merge PR
 (Merge medio 11g 22h) (11 PR mergiate in 30 g)

Descrizione

🐛 Bug Report

The new experimental implementation leaks memory.

To Reproduce

Steps to reproduce the behavior:

Using node 13 or 14 (for unflagged ESM)

$ git clone git@github.com:facebook/jest.git
$ cd jest
$ yarn
$ cd e2e/native-esm
$ node --experimental-vm-modules ../../packages/jest/bin/jest.js --detect-leaks

Expected behavior

It should not leak

Link to repl or repo (highly encouraged)

This repo

Guida contributor