You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm install weak-napi (required jest --detectLeaks)
npx jest -c ./test/jest-circus-integration.config.json --verbose --detectLeaks
Output:
FAIL test/integration/jest-common/test-skip.test.js
● Test suite failed to run
EXPERIMENTAL FEATURE!
Your test suite is leaking memory. Please ensure all references are cleaned.
There is a number of things that can leak memory:
- Async operations that have not finished (e.g. fs.readFile).
- Timers not properly mocked (e.g. setInterval, setTimeout).
- Keeping references to the global scope.
at onResult (node_modules/@jest/core/build/TestScheduler.js:190:18)
at Array.map (<anonymous>)
The text was updated successfully, but these errors were encountered:
Memory leak as reported by jest
--detectLeaks
.Steps to reproduce:
git clone [email protected]:gribnoysup/setup-polly-jest.git
npm install
npm install weak-napi
(required jest--detectLeaks
)npx jest -c ./test/jest-circus-integration.config.json --verbose --detectLeaks
Output:
The text was updated successfully, but these errors were encountered: