jest-leak-detector

  • Version 29.7.0
  • Published
  • 5.59 kB
  • 2 dependencies
  • MIT license

Install

npm i jest-leak-detector
yarn add jest-leak-detector
pnpm add jest-leak-detector

Overview

Module for verifying whether an object has been garbage collected or not.

Index

Classes

class LeakDetector

class LeakDetector {}
  • Copyright (c) Meta Platforms, Inc. and affiliates.

    This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

constructor

constructor(value: {});

    method isLeaking

    isLeaking: () => Promise<boolean>;

      Package Files (1)

      Dependencies (2)

      Dev Dependencies (1)

      Peer Dependencies (0)

      No peer dependencies.

      Badge

      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/jest-leak-detector.

      • Markdown
        [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/jest-leak-detector)
      • HTML
        <a href="https://www.jsdocs.io/package/jest-leak-detector"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>