1.4 KiB
1.4 KiB
Description
This is a project for 4rd year academic of Université de Rennes 1.
Disclaimer
For the pokedemo it's in the main branch. The test is in tp_test branch We don't write all the test for cypress and Jest because it's a little bit too long. But we covered some major test. For Jest, we have some issue with pokeAPI so we try to mock but didnt work For the cypress it worked fine but we dont have many tests.
Prerequisits
Before cloning/forking this project, make sure the following tools are installed:
- [npm]
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash - [nodejs]
nvm install 22
Installation
- Install npm and nodejs
- Uninstall karma jasmin
npm uninstall karma karma-chrome-launcher karma-coverage karma-jasmine karma-jasmine-html-reporter @types/jasmine jasmine-core - Install jest
npm i --save-dev jest @types/jest jest-preset-angular - Install cypress
npm install cypress --save-dev