build: add scaffolding for test

This commit is contained in:
unix
2020-04-14 19:07:51 +08:00
parent 2f86f926c3
commit fe13183be5
7 changed files with 2415 additions and 51 deletions

4
tests/setup.js Normal file
View File

@@ -0,0 +1,4 @@
const enzyme = require('enzyme')
const Adapter = require('enzyme-adapter-react-16')
enzyme.configure({ adapter: new Adapter() })