Update dependencies and fix linting issues.
This commit is contained in:
parent
967c709b85
commit
82d68f8066
14
package.json
14
package.json
|
@ -14,14 +14,14 @@
|
||||||
"build/"
|
"build/"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@bauke/eslint-config": "^0.1.2",
|
"@bauke/eslint-config": "^0.1.5",
|
||||||
"@bauke/prettier-config": "^0.1.2",
|
"@bauke/prettier-config": "^0.1.5",
|
||||||
"esbuild": "^0.16.10",
|
"esbuild": "^0.19.12",
|
||||||
"trash-cli": "^5.0.0",
|
"trash-cli": "^5.0.0",
|
||||||
"tsx": "^3.12.1",
|
"tsx": "^4.7.0",
|
||||||
"typescript": "^4.9.4",
|
"typescript": "^5.3.3",
|
||||||
"vite": "^4.0.2",
|
"vite": "^5.0.12",
|
||||||
"xo": "^0.53.1"
|
"xo": "^0.56.0"
|
||||||
},
|
},
|
||||||
"prettier": "@bauke/prettier-config",
|
"prettier": "@bauke/prettier-config",
|
||||||
"xo": {
|
"xo": {
|
||||||
|
|
4513
pnpm-lock.yaml
4513
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
@ -27,7 +27,10 @@ export class Group implements GroupOptions {
|
||||||
private _afterAll: (() => Promise<void>) | undefined;
|
private _afterAll: (() => Promise<void>) | undefined;
|
||||||
private _beforeAll: (() => Promise<void>) | undefined;
|
private _beforeAll: (() => Promise<void>) | undefined;
|
||||||
|
|
||||||
constructor(public name: string, options?: GroupOptions) {
|
constructor(
|
||||||
|
public name: string,
|
||||||
|
options?: GroupOptions,
|
||||||
|
) {
|
||||||
this.parallel = options?.parallel ?? false;
|
this.parallel = options?.parallel ?? false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +68,6 @@ export class Group implements GroupOptions {
|
||||||
} else {
|
} else {
|
||||||
results = [];
|
results = [];
|
||||||
for (const test of this.tests) {
|
for (const test of this.tests) {
|
||||||
// eslint-disable-next-line no-await-in-loop
|
|
||||||
results.push(await test.run(this.context));
|
results.push(await test.run(this.context));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue