aboutsummaryrefslogtreecommitdiff
path: root/packages/markdown/remark
diff options
context:
space:
mode:
Diffstat (limited to 'packages/markdown/remark')
-rw-r--r--packages/markdown/remark/test/remark-collect-images.test.js4
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_="{&#x22;src&#x22;:&#x22;./img.png&#x22;,&#x22;alt&#x22;:&#x22;inline image url&#x22;,&#x22;index&#x22;: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_="{&#x22;src&#x22;:&#x22;./img.webp&#x22;,&#x22;alt&#x22;:&#x22;image ref&#x22;,&#x22;index&#x22;:0}"></p>'
);
- assert.deepStrictEqual(Array.from(metadata.imagePaths), ['./img.webp']);
+ assert.deepEqual(Array.from(metadata.imagePaths), ['./img.webp']);
});
});