Unit Test cases should be nested within the package of their respective files
e.g. --sockets | |--joinRoom.js |--__tests__ | |--joinRoom.test.js
The naming schema should be "{fileanme}.test.js" Jest will automatically scan the repository for all tests according to the above format
npm test
There was an error while loading. Please reload this page.