1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-24 17:11:55 +01:00
bitwarden-estensione-browser/components
Oscar Hinton de2eb0359b
Migrate components to use jest (#793)
* Migrate components to use jest (tests fail)

* Fix failing tests

* Fix linting errors
2022-05-12 17:33:49 +02:00
..
.storybook [feat] End User Vault Refresh (#790) 2022-05-09 08:09:46 -04:00
spec Migrate components to use jest (#793) 2022-05-12 17:33:49 +02:00
src Migrate components to use jest (#793) 2022-05-12 17:33:49 +02:00
.browserslistrc Component Library scaffolding (#625) 2022-03-08 11:50:34 +01:00
.gitignore Component Library scaffolding (#625) 2022-03-08 11:50:34 +01:00
angular.json Migrate components to use jest (#793) 2022-05-12 17:33:49 +02:00
jest.config.js Migrate components to use jest (#793) 2022-05-12 17:33:49 +02:00
package-lock.json Migrate components to use jest (#793) 2022-05-12 17:33:49 +02:00
package.json Migrate components to use jest (#793) 2022-05-12 17:33:49 +02:00
README.md Component Library scaffolding (#625) 2022-03-08 11:50:34 +01:00
tailwind.config.base.js Add alt2 text color (#794) 2022-05-10 13:11:33 +10:00
tailwind.config.js Add Chromatic (#719) 2022-03-15 13:50:42 +01:00
tsconfig.app.json Component Library scaffolding (#625) 2022-03-08 11:50:34 +01:00
tsconfig.json Migrate components to use jest (#793) 2022-05-12 17:33:49 +02:00
tsconfig.spec.json Migrate components to use jest (#793) 2022-05-12 17:33:49 +02:00

Components

This project was generated with Angular CLI version 13.1.3.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.