Open changtimwu opened 6 years ago
now the following code is repeating in every test
import Adapter from "enzyme-adapter-react-16" configure({ adapter: new Adapter() });
we should utilize the jest option setupTestFrameworkScriptFile https://basarat.gitbooks.io/typescript/docs/testing/jest.html to save the redundant
setupTestFrameworkScriptFile
https://www.leighhalliday.com/testing-react-jest-enzyme-sinon
now the following code is repeating in every test
we should utilize the jest option
setupTestFrameworkScriptFile
https://basarat.gitbooks.io/typescript/docs/testing/jest.html to save the redundant