how to jest test an async action with axios in react?

后端 未结 0 1436
迷失自我
迷失自我 2021-01-23 14:31

I have an action-generator register.js:

import { REGISTER_SUCCESS, REGISTER_FAIL } from "./types";
import axios from "axios";

export const re         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题