From d2b6caae9dc824f51a0dd8236ea7cfe15bfc1285 Mon Sep 17 00:00:00 2001 From: Kelly Joseph Price Date: Tue, 10 Sep 2024 14:39:49 -0700 Subject: [PATCH 1/5] fix: image migration issues --- __tests__/compilers/compatability.test.tsx | 28 +++++++++++++++- __tests__/compilers/images.test.ts | 2 +- __tests__/helpers.ts | 3 +- __tests__/index.test.js | 1 + __tests__/lib/plain.test.ts | 2 +- __tests__/transformers/images.test.ts | 38 +++++++++------------- processor/transform/images.ts | 25 +++++++------- processor/transform/readme-components.ts | 24 ++++++++++---- processor/transform/readme-to-mdx.ts | 2 +- processor/utils.ts | 4 +-- types.d.ts | 27 ++++++++------- 11 files changed, 95 insertions(+), 61 deletions(-) diff --git a/__tests__/compilers/compatability.test.tsx b/__tests__/compilers/compatability.test.tsx index 7ce595f3b..c5f6cdd8d 100644 --- a/__tests__/compilers/compatability.test.tsx +++ b/__tests__/compilers/compatability.test.tsx @@ -205,7 +205,7 @@ This is an image: }); describe(' wrapping', () => { - // configure({ defaultIgnore: undefined }); + // configure({ defaultIgnore: undefined }); const rawStyle = `