Replace JavaScript Testing Framework from Mocha to Jest (#5412)
This commit is contained in:
parent
93b54b8d4b
commit
d5b767c374
25 changed files with 1266 additions and 682 deletions
5
app/javascript/mastodon/test_setup.js
Normal file
5
app/javascript/mastodon/test_setup.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
import { configure } from 'enzyme';
|
||||
import Adapter from 'enzyme-adapter-react-16';
|
||||
|
||||
const adapter = new Adapter();
|
||||
configure({ adapter });
|
Loading…
Add table
Add a link
Reference in a new issue