mocking createAsyncThunk exhibits odd behavior
I am trying to mock createAsyncThunk
from reduxjs/toolkit
as follows:
What error is this: “Jest encountered an unexpected token”? It came from “isPortReachable” import of my code to be tested
Im trying to do Jest testing for all my domain/service/business logic of my web app.