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
- Some types fixes
- Parallel tests execution in case of one class
import { suite, parallel, test } from '@biorate/mocha';
@suite
@parallel(true)
class Test {
@test
first() {
expect(false).toBe(true);
}
@test
second() {
expect(false).toBe(true);
}
}
- Documentation can be found here - docs.
See the CHANGELOG
Copyright (c) 2021-present Leonid Levkin (llevkin)