Add QA test outputs, build scripts, and Dockerfile validation
- Created `qa-test-output-after-fix.txt` and `qa-test-output.txt` to log results of certificate page authentication tests. - Added `build.sh` for deterministic backend builds in CI, utilizing `go list` for efficiency. - Introduced `codeql_scan.sh` for CodeQL database creation and analysis for Go and JavaScript/TypeScript. - Implemented `dockerfile_check.sh` to validate Dockerfiles for base image and package manager mismatches. - Added `sourcery_precommit_wrapper.sh` to facilitate Sourcery CLI usage in pre-commit hooks.
This commit is contained in:
9
frontend/src/types/test-shims.d.ts
vendored
Normal file
9
frontend/src/types/test-shims.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
// Test-only type shims to satisfy strict type-checking in CI
|
||||
// Properly type the default export from @testing-library/user-event
|
||||
declare module '@testing-library/user-event' {
|
||||
import type { UserEvent } from '@testing-library/user-event/dist/types/setup/setup'
|
||||
const userEvent: UserEvent
|
||||
export default userEvent
|
||||
export { userEvent }
|
||||
export type { UserEvent }
|
||||
}
|
||||
5
frontend/src/types/testing-library-user-event.d.ts
vendored
Normal file
5
frontend/src/types/testing-library-user-event.d.ts
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// ambient module declaration to satisfy typescript in editor environment
|
||||
declare module '@testing-library/user-event' {
|
||||
const userEvent: unknown;
|
||||
export default userEvent;
|
||||
}
|
||||
Reference in New Issue
Block a user