Initial test setup

This commit is contained in:
2019-07-05 22:38:18 +02:00
parent 65cde5e137
commit ddfa81a458
13 changed files with 4800 additions and 34 deletions

2
tests/__mocks__/react.js vendored Normal file
View File

@@ -0,0 +1,2 @@
const React = require('react')
module.exports = { ...React, useEffect: React.useLayoutEffect }