I have multiple modules. I have some common classes which I use in different modules in my unit tests.
I have a class with 3 field in it. public class Data implements TestCon{ private UserDTO userDto; private UserTestDto userTestDto;
I am calling$(window).on(\'scroll\', () =>{the method in my js file. But I can\'t find out how to test this method using JEST.
This is the function I am trying to test. def user_register(): request_data = request.get_json() insert = service_register(request_data)