- Before running the tests, you have to provide the values for VK credentials:
- app access token;
- app id (this is the same as user id);
- login for the VK user account (a phone number or an email);
- password for the VK user account.
- To do this:
- go to the
src/environment
directory; - open the file
credentials.cjs
; - enter your credentials instead
null
values.
-
Open a terminal in the project root.
-
Enter
npm install
to install all of the required dependencies. -
Enter
npm test
to launch the test suite execution. -
Logging test output you can see in the terminal.