jest-leak-detector

  • Version 27.2.4
  • Published
  • 5.67 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 default

class {}
  • Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.

    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 (2)

      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>