Clean up code to prevent flaky tests
This commit is contained in:
parent
388d131a16
commit
3269f9a15a
|
|
@ -102,6 +102,7 @@ export default {
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 400,
|
height: 400,
|
||||||
src: smallImage,
|
src: smallImage,
|
||||||
|
srcset: '',
|
||||||
alt: '',
|
alt: '',
|
||||||
},
|
},
|
||||||
heroSource: '',
|
heroSource: '',
|
||||||
|
|
@ -140,4 +141,8 @@ export default {
|
||||||
note: null,
|
note: null,
|
||||||
contentUuid: null,
|
contentUuid: null,
|
||||||
}),
|
}),
|
||||||
|
WagtailImageNode: () => ({
|
||||||
|
src: smallImage,
|
||||||
|
srcset: '',
|
||||||
|
}),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ const spellcheckText = computed(() => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
const emit = defineEmits(['reopen', 'saveInput', 'changeDocumentUrl']);
|
const emit = defineEmits(['reopen', 'saveInput', 'changeDocumentUrl', 'spellcheck']);
|
||||||
|
|
||||||
const reopenSubmission = () => {
|
const reopenSubmission = () => {
|
||||||
emit('reopen');
|
emit('reopen');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue