I'm trying out swagger for the first time and I generated typescript-fetch client via swagger-codegen which produced both client files and unit test .spec.ts files. I am using "Jest" as testing framework and when I'm running test cases with "npm test", getting below error
expect(received).resolves.toBe(expected) // Object.is equality
Expected: null
Received: {"activities": [{"activity_text": "string", "time_ago": "string"}]}
Below is the code where i get errors: