Previewing a main image on an article was broken in v2 of the editor :( We had some tests for this (which I wrote), but the setup for the tests weren't quite right! This commit fixes the bug, and also refactors and cleans up our tests quite a bit. Also adds some snapshots for both v1 and v2 editors in a "no image" preview state. |
||
|---|---|---|
| .. | ||
| __mocks__ | ||
| __tests__ | ||
| bodyMarkdown.jsx | ||
| bodyPreview.jsx | ||
| description.jsx | ||
| errors.jsx | ||
| imageManagement.jsx | ||
| keyboardShortcutsHandler.jsx | ||
| mainImage.jsx | ||
| moreConfig.jsx | ||
| notice.jsx | ||
| publishToggle.jsx | ||
| title.jsx | ||