@testdeck/mocha

  • Version 0.3.3
  • Published
  • 30.4 kB
  • 1 dependency
  • Apache-2.0 license

Install

npm i @testdeck/mocha
yarn add @testdeck/mocha
pnpm add @testdeck/mocha

Overview

Object oriented testing for the Mocha test framework

Index

Variables

variable context

const context: Symbol;

    variable only

    const only: ExecutionModifierDecorator;

      variable params

      const params: ParameterisedTestDecorator;

        variable pending

        const pending: ExecutionModifierDecorator;

          variable retries

          const retries: ExecutionOptionDecorator;

            variable skip

            const skip: ExecutionModifierDecorator;

              variable slow

              const slow: ExecutionOptionDecorator;

                variable suite

                const suite: SuiteDecorator;

                  variable test

                  const test: TestDecorator;

                    variable timeout

                    const timeout: ExecutionOptionDecorator;

                      Namespaces

                      namespace global

                      namespace global {}

                        interface Function

                        interface Function {}

                          property [context]

                          [context]: Mocha.Suite;

                            interface Object

                            interface Object {}

                              property [context]

                              [context]: Mocha.Context;

                                Package Files (1)

                                Dependencies (1)

                                Dev Dependencies (17)

                                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/@testdeck/mocha.

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