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
|
* @throws Error when the property check fails
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export function over<T>(name: string, strategy: Arbitrary<T>, suite: Suite<T>, parameters: ErrorParameters<T> = {}): void {
|
export function over<T>(suiteName: string, strategy: Arbitrary<T>, suite: Suite<T>, parameters: ErrorParameters<T> = {}): void {
|
||||||
describe(name, () => {
|
describe(suiteName, () => {
|
||||||
suite((name, test) => {
|
suite((name, test) => {
|
||||||
it(name, function (this: Mocha.Context): Promise<void> {
|
it(name, function (this: Mocha.Context): Promise<void> {
|
||||||
const ctx = this;
|
const ctx = this;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { expect } from 'chai';
|
import { expect } from 'chai';
|
||||||
import { array, defaultReportMessage, integer, lorem, tuple, uuid } from 'fast-check';
|
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';
|
import { over } from '../src/index.js';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue