Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New: [AEA-4515] - footer #113

Merged
merged 8 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:

jobs:
quality_checks:
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/[email protected]
uses: NHSDigital/eps-workflow-quality-checks/.github/workflows/[email protected]
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ lint: lint-node lint-githubactions lint-githubaction-scripts react-lint
test: compile
npm run test --workspace packages/cloudfrontFunctions
npm run test --workspace packages/cdk
npm run test --workspace packages/cpt-ui

clean:
rm -rf packages/cloudfrontFunctions/coverage
Expand Down
9 changes: 5 additions & 4 deletions jest.default.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
* https://jestjs.io/docs/configuration
*/

import type {JestConfigWithTsJest} from "ts-jest"
// eslint-disable-next-line object-curly-spacing
import type { JestConfigWithTsJest } from "ts-jest"

const esModules = ["@middy"].join("|")
const jestConfig: JestConfigWithTsJest = {
preset: "ts-jest/presets/default-esm",
moduleFileExtensions: ["js", "json", "ts", "d.ts"],
moduleFileExtensions: ["js", "json", "ts", "d.ts", "jsx", "tsx"],
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
Expand All @@ -25,9 +26,9 @@ const jestConfig: JestConfigWithTsJest = {
collectCoverage: true,
coverageDirectory: "coverage",
coverageProvider: "v8",
testMatch: ["**/tests/**/*.test.ts"],
testMatch: ["**/tests/**/*.test.ts", "**/__tests__/**/*.test.js?(x)", "**/__tests__/**/*.test.ts?(x)"],
testEnvironment: "node",
extensionsToTreatAsEsm: [".ts"],
extensionsToTreatAsEsm: [".ts", ".tsx"],
verbose: true,
transformIgnorePatterns: [`node_modules/(?!${esModules})`]
}
Expand Down
Loading