Clean up code to prevent flaky tests
This commit is contained in:
parent
388d131a16
commit
3269f9a15a
|
|
@ -102,6 +102,7 @@ export default {
|
|||
width: 800,
|
||||
height: 400,
|
||||
src: smallImage,
|
||||
srcset: '',
|
||||
alt: '',
|
||||
},
|
||||
heroSource: '',
|
||||
|
|
@ -140,4 +141,8 @@ export default {
|
|||
note: 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 = () => {
|
||||
emit('reopen');
|
||||
|
|
|
|||
Loading…
Reference in New Issue