jest-schematic
Angular schematic for adding Jest and the required files to an Angular CLI project
File Explorer
Download Latest Version (.zip)- config.yml
- bug_report.md
- feature_request.md
- edit-github-release.png
- jest-schematic-demo-500.gif
- np-release.png
- app-routing.module.ts
- app.component.css
- app.component.html
- app.component.spec.ts
- app.component.ts
- app.module.ts
- .gitkeep
- favicon.ico
- index.html
- main.ts
- styles.css
- .editorconfig
- .gitignore
- angular.json
- package.json
- README.md
- tsconfig.app.json
- tsconfig.json
- tsconfig.spec.json
- yarn.lock
- app-routing.module.ts
- app.component.css
- app.component.html
- app.component.spec.ts
- app.component.ts
- app.module.ts
- .gitkeep
- favicon.ico
- index.html
- main.ts
- styles.css
- tsconfig.app.json
- tsconfig.spec.json
- lib-one.component.spec.ts
- lib-one.component.ts
- lib-one.module.ts
- lib-one.service.spec.ts
- lib-one.service.ts
- public-api.ts
- ng-package.json
- package.json
- README.md
- tsconfig.lib.json
- tsconfig.lib.prod.json
- tsconfig.spec.json
- .editorconfig
- .gitignore
- angular.json
- package.json
- README.md
- tsconfig.json
- yarn.lock
- e2e.ts
- tsconfig.json
- utils.ts
- ts-config-schema.ts
- jest.config.js
- jest.config.js
- index.ts
- schema.json
- dependencies.ts
- json-utils.ts
- util.ts
- collection.json
- .gitignore
- .npmignore
- LICENSE.txt
- package-lock.json
- package.json
- README.md
- tsconfig.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/briebug/jest-schematic
Downloads the entire project code from GitHub to your computer.
cd jest-schematic
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Node.js Node.js must be installed to use npm.
npm install -g @briebug/jest-schematic
Installs the package published on the npm registry globally โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Node.js
EasyPrerequisites
npm install -g @briebug/jest-schematic
Installs the package published on the npm registry globally โ no need to clone the source.
yarn
Downloads and installs the libraries listed in package.json.
yarn test single
Type this command into your terminal and run it.
yarn test workspace
Type this command into your terminal and run it.
yarn reset
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
