反应表单输入onChange测试
I've been trying to solve this all day. I've been all over the Testing Library documentation and have tried many solutions. The closest I could get is with the test code posted below.
CreatePost.js
import React, { useState } from 'react';
import axios fr...