@web/test-runner

  • Version 0.18.2
  • Published
  • 182 kB
  • 16 dependencies
  • MIT license

Install

npm i @web/test-runner
yarn add @web/test-runner
pnpm add @web/test-runner

Overview

Test runner for web applications

Index

Functions

function defaultReporter

defaultReporter: ({
reportTestResults,
reportTestProgress,
}?: DefaultReporterArgs) => Reporter;

    function dotReporter

    dotReporter: () => Reporter;
    • Test reporter that summarizes all test for a given run using dot notation

    function formatError

    formatError: (error: TestResultError) => string;

      function startTestRunner

      startTestRunner: (
      options?: StartTestRunnerParams
      ) => Promise<TestRunner | undefined>;
      • Starts the test runner.

      function summaryReporter

      summaryReporter: (opts: Options) => Reporter;
      • Test reporter that summarizes all test for a given run

      Type Aliases

      type TestRunnerConfig

      type TestRunnerConfig = Partial<FullTestRunnerConfig>;

        Package Files (6)

        Dependencies (16)

        Dev Dependencies (5)

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

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