Skip to content

Commit

Permalink
Merge pull request #49 from companieshouse/feature/lp-212-name-page
Browse files Browse the repository at this point in the history
Feature/lp 212 name page
  • Loading branch information
lduranteau authored Nov 27, 2024
2 parents e3b4d75 + 0c23641 commit fd3c5fa
Show file tree
Hide file tree
Showing 61 changed files with 1,677 additions and 260 deletions.
39 changes: 37 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,44 @@ Requires >= Node v20

use localhost:3000/limited-partnerships/start to view the test page

## Frontend Technologies and Utils
## Technologies and Utils

- [NodeJS](https://nodejs.org/)
- [ExpressJS](https://expressjs.com/)
- [Typescript](https://www.typescriptlang.org/)
- [Sonarqube](https://www.sonarqube.org)
- [Sonarqube](https://www.sonarqube.org)

## Run Tests

Unit tests:
```
$ npm run test:unit
```
Unit tests watch mode:
```
$ npm run test:unit:watch
```

---
\
integration tests:
```
$ npm run test:integration
```

integration tests watch mode:
```
$ npm run test:integration:watch
```

---
\
all tests:
```
$ npm run test
```

all tests watch mode:
```
$ npm run test:watch
```
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default [...compat.extends(

outerIIFEBody: 2,
SwitchCase: 2,
"offsetTernaryExpressions": true
}],

"key-spacing": ["error", {
Expand Down
132 changes: 126 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"start": "node dist/bin/www.js",
"dev": "nodemon src/bin/www.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:unit": "jest --testRegex=.spec.ts",
"test:unit:watch": "jest --testRegex=.spec.ts --watch",
"test:integration": "jest --testRegex=.test.ts",
"test:integration:watch": "jest --testRegex=.test.ts --watch",
"coverage": "jest --coverage --forceExit --passWithNoTests"
},
"repository": {
Expand All @@ -28,6 +33,7 @@
"license": "MIT",
"homepage": "https://github.com/companieshouse/limited-partnerships-web#readme",
"dependencies": {
"@companieshouse/api-sdk-node": "^2.0.212",
"@companieshouse/ch-node-utils": "^1.3.13",
"@companieshouse/node-session-handler": "^5.0.1",
"@companieshouse/structured-logging-node": "^2.0.1",
Expand Down
Loading

0 comments on commit fd3c5fa

Please sign in to comment.