diff options
Diffstat (limited to 'packages/markdown/remark')
-rw-r--r-- | packages/markdown/remark/test/remark-collect-images.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/markdown/remark/test/remark-collect-images.test.js b/packages/markdown/remark/test/remark-collect-images.test.js index 77f474d94..bc8c36468 100644 --- a/packages/markdown/remark/test/remark-collect-images.test.js +++ b/packages/markdown/remark/test/remark-collect-images.test.js @@ -23,7 +23,7 @@ describe('collect images', async () => { '<p>Hello <img __ASTRO_IMAGE_="{"src":"./img.png","alt":"inline image url","index":0}"></p>' ); - assert.deepStrictEqual(Array.from(imagePaths), ['./img.png']); + assert.deepEqual(Array.from(imagePaths), ['./img.png']); }); it('should add image paths from definition', async () => { @@ -37,6 +37,6 @@ describe('collect images', async () => { '<p>Hello <img __ASTRO_IMAGE_="{"src":"./img.webp","alt":"image ref","index":0}"></p>' ); - assert.deepStrictEqual(Array.from(metadata.imagePaths), ['./img.webp']); + assert.deepEqual(Array.from(metadata.imagePaths), ['./img.webp']); }); }); |