lint: remove unused import, rename param
This commit is contained in:
parent
588356729f
commit
64d2eb2545
|
@ -24,8 +24,8 @@ export interface ErrorParameters<T> extends Parameters<T> {
|
|||
* @throws Error when the property check fails
|
||||
* @public
|
||||
*/
|
||||
export function over<T>(name: string, strategy: Arbitrary<T>, suite: Suite<T>, parameters: ErrorParameters<T> = {}): void {
|
||||
describe(name, () => {
|
||||
export function over<T>(suiteName: string, strategy: Arbitrary<T>, suite: Suite<T>, parameters: ErrorParameters<T> = {}): void {
|
||||
describe(suiteName, () => {
|
||||
suite((name, test) => {
|
||||
it(name, function (this: Mocha.Context): Promise<void> {
|
||||
const ctx = this;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { expect } from 'chai';
|
||||
import { array, defaultReportMessage, integer, lorem, tuple, uuid } from 'fast-check';
|
||||
import { describe, it } from 'mocha';
|
||||
import { describe } from 'mocha';
|
||||
|
||||
import { over } from '../src/index.js';
|
||||
|
||||
|
|
Loading…
Reference in New Issue