mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
fed7f51476
polyfill new js features before executing tests move jest config to file, update transformation exclusion to be okay with axios module rename enzyme.config.js to jest.setup.js remove currently unused redux deps update babel to 7, use env preset as opposed to deprecated stage preset move .babelrc to newer, favored babel.config.js preset update all babel preset and plugin packages to those name spaced under @babel
7 lines
162 B
JavaScript
7 lines
162 B
JavaScript
require('@babel/polyfill');
|
|
|
|
const enzyme = require('enzyme');
|
|
const Adapter = require('enzyme-adapter-react-16');
|
|
|
|
enzyme.configure({ adapter: new Adapter() });
|