Skip to content

Commit acb26bd

Browse files
committed
docs: Add the right command for testing to the frontend README #7
1 parent 88b4a97 commit acb26bd

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

frontend/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@ ng build
3636

3737
This will compile your project and store the build artifacts in the `dist/` directory. By default, the production build optimizes your application for performance and speed.
3838

39-
## Running unit tests
40-
41-
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
39+
## Running tests
4240

4341
```bash
44-
ng test
42+
npm run test
4543
```
4644

4745
## Running end-to-end tests

frontend/eslint.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ export default tsEslint.config(
3333
processor: angular.processInlineTemplates,
3434
languageOptions: {
3535
parserOptions: {
36-
project: ['./tsconfig.json', './tsconfig.spec.json'],
36+
project: [
37+
'./tsconfig.json',
38+
'./tsconfig.spec.json',
39+
'./tsconfig.app.json',
40+
],
3741
},
3842
globals: {
3943
//Cypress things not recognized by eslint

0 commit comments

Comments
 (0)