Skip to content

Commit

Permalink
New: [AEA-4515] - footer (#113)
Browse files Browse the repository at this point in the history
## Summary

- ✨ New Feature

### Details

Introduces proper version of footer, as per react component library, to
include structure for data driven ui-strings for this and future
footer-related tickets. Footer may have less content than previous
mocked version as more sections will be added via upcoming tickets
  • Loading branch information
tobytobytoby74 authored Nov 1, 2024
1 parent 29fbf08 commit 8f7f2dc
Show file tree
Hide file tree
Showing 16 changed files with 1,627 additions and 304 deletions.
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

0 comments on commit 8f7f2dc

Please sign in to comment.