mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 06:56:00 -03:30
Merge pull request #5250 from jakemcdermott/fix-5234
fix flakey test Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -67,6 +67,14 @@ describe('<JobTemplateForm />', () => {
|
|||||||
{ id: 5, kind: 'Machine', name: 'Cred 5', url: 'www.google.com' },
|
{ id: 5, kind: 'Machine', name: 'Cred 5', url: 'www.google.com' },
|
||||||
];
|
];
|
||||||
|
|
||||||
|
beforeAll(() => {
|
||||||
|
jest.setTimeout(5000 * 4);
|
||||||
|
});
|
||||||
|
|
||||||
|
afterAll(() => {
|
||||||
|
jest.setTimeout(5000);
|
||||||
|
});
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
LabelsAPI.read.mockReturnValue({
|
LabelsAPI.read.mockReturnValue({
|
||||||
data: mockData.summary_fields.labels,
|
data: mockData.summary_fields.labels,
|
||||||
|
|||||||
Reference in New Issue
Block a user