mirror of
https://github.com/ansible/awx.git
synced 2026-02-14 17:50:02 -03:30
remove setTimeout hack for testing api.login Login.jsx handlers
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
require('@babel/polyfill');
|
||||
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export const asyncFlush = () => new Promise((resolve) => setImmediate(resolve));
|
||||
|
||||
const enzyme = require('enzyme');
|
||||
const Adapter = require('enzyme-adapter-react-16');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user