jestjs/jest

ESM Modules implementations leak memory

Open

#9.959 aberto em 3 de mai. de 2020

Ver no GitHub
 (4 comments) (4 reactions) (0 assignees)TypeScript (6.653 forks)batch import
:bug: BugES ModulesHelp WantedPinnedUpstream Bug

Métricas do repositório

Stars
 (45.361 stars)
Métricas de merge de PR
 (Mesclagem média 11d 22h) (11 fundiu PRs em 30d)

Description

🐛 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

Guia do colaborador