@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)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.64.02latest

Version History

VersionDownloads (Last 7 Days)Published
1.64.02
1.58.03
1.57.04
1.53.03
1.52.00
1.51.00
1.49.00
1.48.00
1.47.00
1.46.00
1.45.12
1.45.00

Package Sidebar

Install

npm i @biorate/mocha

Weekly Downloads

14

Version

1.64.0

License

MIT

Unpacked Size

115 kB

Total Files

17

Last publish

Collaborators

  • llevkin