diff options
author | 2024-02-16 18:41:16 +0700 | |
---|---|---|
committer | 2024-02-16 11:41:16 +0000 | |
commit | 5ff288f61b51f9c5f0d8cc9ebd371a8d881c68fd (patch) | |
tree | 88ea7f2502e989a430f4a0fee55ebd163b45a7c2 /packages/markdown/remark/test/remark-collect-images.test.js | |
parent | 7bdcfb750ae5e8a9e2a0ee68c7ac03b82215d08f (diff) | |
download | astro-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.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']); }); }); |