@biorate/mocha
v1.64.0
Published
Mocha OOP tests based on @testdeck/core
Downloads
59
Maintainers
Readme
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
Copyright (c) 2021-present Leonid Levkin (llevkin)