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