()
| 11 | axios.create = jest.fn(() => axios); |
| 12 | |
| 13 | const getTestSession = async () => { |
| 14 | const {container: {session}} = await SessionDesign |
| 15 | .bind('CookieConstructor', () => { |
| 16 | disableCookieFileIO(); |
| 17 | return Cookie; |
| 18 | }) |
| 19 | .resolve({}); |
| 20 | return session; |
| 21 | }; |
| 22 | |
| 23 | test("getTestSession", async () => { |
| 24 | expect(await getTestSession()).toBeInstanceOf(Session); |
no test coverage detected