mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-16 03:03:06 +00:00
ci(pr): prettier + ignore local tool artifacts in format check
This commit is contained in:
parent
9d810d1564
commit
42d1a7be93
3 changed files with 9 additions and 3 deletions
|
|
@ -4,6 +4,10 @@ out/
|
|||
build/
|
||||
playwright-report/
|
||||
test-results/
|
||||
.playwright-cli/
|
||||
.aider.chat.history.md
|
||||
.aider.input.history
|
||||
.aider.tags.cache.v4/
|
||||
data/
|
||||
pnpm-lock.yaml
|
||||
.impeccable/hook.cache.json
|
||||
|
|
|
|||
|
|
@ -272,7 +272,9 @@ export function findUncoveredE2eDomainPrefixes(
|
|||
const missing = []
|
||||
const covered = []
|
||||
for (const path of required) {
|
||||
const hit = prefixes.some((prefix) => prefix === path || prefix.startsWith(`${path}/`) || path.startsWith(prefix))
|
||||
const hit = prefixes.some(
|
||||
(prefix) => prefix === path || prefix.startsWith(`${path}/`) || path.startsWith(prefix),
|
||||
)
|
||||
if (hit) covered.push(path)
|
||||
else missing.push(path)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
// @vitest-environment node
|
||||
|
||||
import { readFileSync, readdirSync } from 'node:fs'
|
||||
import { readdirSync, readFileSync } from 'node:fs'
|
||||
import { join } from 'node:path'
|
||||
import { fileURLToPath } from 'node:url'
|
||||
|
||||
import { describe, expect, it } from 'vitest'
|
||||
|
||||
import { checkTestLocations } from '../../scripts/check-test-locations.mjs'
|
||||
import { E2E_AFFECTED_MANIFEST } from '../../scripts/lib/e2e-affected-manifest.mjs'
|
||||
import {
|
||||
CANONICAL_E2E_SPEC_SUFFIX,
|
||||
|
|
@ -18,7 +19,6 @@ import {
|
|||
isCanonicalSpecPath,
|
||||
isMisplacedSpecPath,
|
||||
} from '../../scripts/lib/test-affected-core.mjs'
|
||||
import { checkTestLocations } from '../../scripts/check-test-locations.mjs'
|
||||
|
||||
const repoRoot = join(fileURLToPath(new URL('.', import.meta.url)), '../..')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue