aboutsummaryrefslogtreecommitdiff
path: root/packages/markdown/remark/test/remark-collect-images.test.js
diff options
context:
space:
mode:
authorGravatar ktym4a <shoma@ktym4a.me> 2024-02-16 18:41:16 +0700
committerGravatar GitHub <noreply@github.com> 2024-02-16 11:41:16 +0000
commit5ff288f61b51f9c5f0d8cc9ebd371a8d881c68fd (patch)
tree88ea7f2502e989a430f4a0fee55ebd163b45a7c2 /packages/markdown/remark/test/remark-collect-images.test.js
parent7bdcfb750ae5e8a9e2a0ee68c7ac03b82215d08f (diff)
downloadastro-5ff288f61b51f9c5f0d8cc9ebd371a8d881c68fd.tar.gz
astro-5ff288f61b51f9c5f0d8cc9ebd371a8d881c68fd.tar.zst
astro-5ff288f61b51f9c5f0d8cc9ebd371a8d881c68fd.zip
chore: Change `strictEqual` to `equal` (#10140)
Diffstat (limited to 'packages/markdown/remark/test/remark-collect-images.test.js')
-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']);
});
});