@biorate/mocha
TypeScript icon, indicating that this package has built-in type declarations

1.64.0 • Public • Published

Mocha

Mocha OOP tests based on @testdeck/core This is a mocha OOP wrap based on https://www.npmjs.com/package/@testdeck/mocha package, documentation should be almost the same

Reason

  • Some types fixes

Feature

  • Parallel tests execution in case of one class

Examples:

import { suite, parallel, test } from '@biorate/mocha';

@suite
@parallel(true)
class Test {
  @test
  first() {
    expect(false).toBe(true);
  }

  @test
  second() {
    expect(false).toBe(true);
  }
}

Learn

  • Documentation can be found here - docs.

Release History

See the CHANGELOG

License

MIT

Copyright (c) 2021-present Leonid Levkin (llevkin)

Package Sidebar

Install

npm i @biorate/mocha

Weekly Downloads

3

Version

1.64.0

License

MIT

Unpacked Size

115 kB

Total Files

17

Last publish

Collaborators

  • llevkin