jestjs/jest

ESM Modules implementations leak memory

Open

#9,959 opened on 2020幎5月3日

GitHub で芋る
 (4 comments) (4 reactions) (0 assignees)TypeScript (6,653 forks)batch import
:bug: BugES ModulesHelp WantedPinnedUpstream Bug

Repository metrics

Stars
 (45,361 stars)
PR merge metrics
 (平均マヌゞ 11d 22h) (30d で 11 merged PRs)

説明

🐛 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

コントリビュヌタヌガむド