From 73d79002fe6018ab12457b37bdaeb76ff2800213 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Sun, 9 Nov 2025 15:23:49 -0500 Subject: Update (most) Node dependencies. The `jsdom` upgrade entails upgrading Node, as something changed internally to jsdom in how it imports other modules. Upgrading vitest caused the details of some of our test cases to change, but the semantics of the affected tests are the same. They also split resetting mocks from resetting mocks' behaviours, which required a small config change to preserve our tests' correctness. --- ui/lib/markdown.test.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ui/lib') diff --git a/ui/lib/markdown.test.js b/ui/lib/markdown.test.js index 7aa10b1..cf84bb2 100644 --- a/ui/lib/markdown.test.js +++ b/ui/lib/markdown.test.js @@ -6,7 +6,7 @@ describe('render', async () => { const markdown = `[a link](https://example.com?foo=bar)`; const html = md.render(markdown); expect(html).toStrictEqual( - `

a link

+ `

a link

`, ); }); @@ -15,7 +15,7 @@ describe('render', async () => { const markdown = `[a link](https://example.com?foo=bar "what title")`; const html = md.render(markdown); expect(html).toStrictEqual( - `

a link

+ `

a link

`, ); }); @@ -27,7 +27,7 @@ describe('render', async () => { [a link]: https://example.com?foo=bar`; const html = md.render(markdown); expect(html).toStrictEqual( - `

a link

+ `

a link

`, ); }); @@ -39,7 +39,7 @@ describe('render', async () => { [a link]: https://example.com?foo=bar "what title"`; const html = md.render(markdown); expect(html).toStrictEqual( - `

a link

+ `

a link

`, ); }); @@ -48,7 +48,7 @@ describe('render', async () => { const markdown = `[a _link_](https://example.com?foo=bar)`; const html = md.render(markdown); expect(html).toStrictEqual( - `

a link

+ `

a link

`, ); }); -- cgit v1.2.3