BYU-Broadcast/ScreenSharing
[ScreenSharing] This sprint's task (Mock Axios)
brightlightkim
2022. 4. 13. 04:49
- Complexity
- means how difficult it is
- Integrating new EC2 Instance to broadcast stream >> Very Good (Automatically record it for us)
- Moving to a new framework of recording AWS EC2 Instance
- Some of the functions
- Tests are required.
- For the End to End test, we can call from the clouds
- Tests are required.
- For the local tests, we don't want to make any connection to the cloud (Change the cloud)
- Integration Tests
- getCloud
- saveMedia
- Create Integration Tests for making cloud functions work in Local
- save media >> makeRequests
- Mock this Axios function.
- makeAxios
- make HTTP calls
- jest(../../axios) >> auto mock the module
- We have to redefine the data. (mock implementation (helper function))
- Examples need to be cleared up
- Calls and delete all and recreate them >> we want to change them.
- //create and delete resources
- mock Axios
- CreateVODTest
- Calls and delete all and recreate them >> we want to change them.