mirror of
https://github.com/zhigang1992/react.git
synced 2026-04-29 04:35:32 +08:00
build: add scaffolding for test
This commit is contained in:
4
tests/setup.js
Normal file
4
tests/setup.js
Normal file
@@ -0,0 +1,4 @@
|
||||
const enzyme = require('enzyme')
|
||||
const Adapter = require('enzyme-adapter-react-16')
|
||||
|
||||
enzyme.configure({ adapter: new Adapter() })
|
||||
Reference in New Issue
Block a user