@platform/test

  • Version 0.3.2
  • Published
  • 7.4 kB
  • 5 dependencies
  • MIT license

Install

npm i @platform/test
yarn add @platform/test
pnpm add @platform/test

Overview

Configuration module containing test related modules.

Index

Variables

variable Test

const Test: {
files(options?: {
dir?: string | undefined;
pattern?: string | undefined;
}): Promise<string[]>;
run(options?: {
dir?: string | undefined;
pattern?: string | undefined;
parallel?: boolean | undefined;
}): Promise<void>;
};

    Functions

    function delay

    delay: (msecs: number, callback: () => any) => Promise<void>;

      function expectError

      expectError: (fn: () => Promise<any>, message?: string) => Promise<any>;

        function kill

        kill: (port: number) => Promise<void>;

          function wait

          wait: (msecs: number) => Promise<void>;

            Package Files (4)

            Dependencies (5)

            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/@platform/test.

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