Update dependencies and fix linting issues.

This commit is contained in:
Bauke 2024-01-27 13:06:54 +01:00
parent 967c709b85
commit 82d68f8066
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
3 changed files with 2682 additions and 1851 deletions

View File

@ -14,14 +14,14 @@
"build/"
],
"devDependencies": {
"@bauke/eslint-config": "^0.1.2",
"@bauke/prettier-config": "^0.1.2",
"esbuild": "^0.16.10",
"@bauke/eslint-config": "^0.1.5",
"@bauke/prettier-config": "^0.1.5",
"esbuild": "^0.19.12",
"trash-cli": "^5.0.0",
"tsx": "^3.12.1",
"typescript": "^4.9.4",
"vite": "^4.0.2",
"xo": "^0.53.1"
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"xo": "^0.56.0"
},
"prettier": "@bauke/prettier-config",
"xo": {

File diff suppressed because it is too large Load Diff

View File

@ -27,7 +27,10 @@ export class Group implements GroupOptions {
private _afterAll: (() => 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;
}
@ -65,7 +68,6 @@ export class Group implements GroupOptions {
} else {
results = [];
for (const test of this.tests) {
// eslint-disable-next-line no-await-in-loop
results.push(await test.run(this.context));
}
}