mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-05 23:15:58 -06:00
fix: update Husky hooks for v10 compatibility and fix test scripts
- Remove deprecated shebang lines from Husky hooks - Fix test:run to properly exclude integration tests - Update test:integration to directly specify integration test file - All test suites now working correctly (85 unit + 3 integration tests)
This commit is contained in:
@@ -1,5 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
# Validate commit message format
|
||||
pnpm commitlint --edit "$1"
|
||||
|
||||
@@ -1,5 +1,2 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
# Run linting on staged files
|
||||
pnpm lint-staged
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
"start": "next start",
|
||||
"test": "vitest",
|
||||
"test:ui": "vitest --ui",
|
||||
"test:run": "vitest run --exclude '**/*.integration.test.ts'",
|
||||
"test:integration": "vitest run '**/*.integration.test.ts'",
|
||||
"test:run": "vitest run --exclude '**/*.integration.test.{ts,tsx}'",
|
||||
"test:integration": "vitest run src/rdap.integration.test.ts",
|
||||
"test:all": "vitest run",
|
||||
"type-check": "tsc --noEmit",
|
||||
"prepare": "husky install",
|
||||
|
||||
Reference in New Issue
Block a user