1
0
Fork 0

lint: remove unused import, rename param

This commit is contained in:
Sean Sube 2022-02-15 08:37:22 -06:00
parent 588356729f
commit 64d2eb2545
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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';