diff options
author | 2023-08-31 15:32:51 +0000 | |
---|---|---|
committer | 2023-08-31 15:32:51 +0000 | |
commit | f36bce043ff3137b4178a88fde581e5e3374869d (patch) | |
tree | 303e38d2a71e25e0d3245140f5afca4e1ea1895f /packages/integrations/mdx | |
parent | 0752cf3688eaac535ceda1ebcd22ccaf20b2171f (diff) | |
download | astro-f36bce043ff3137b4178a88fde581e5e3374869d.tar.gz astro-f36bce043ff3137b4178a88fde581e5e3374869d.tar.zst astro-f36bce043ff3137b4178a88fde581e5e3374869d.zip |
[ci] format
Diffstat (limited to 'packages/integrations/mdx')
-rw-r--r-- | packages/integrations/mdx/test/mdx-plus-react.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/mdx/test/mdx-plus-react.test.js b/packages/integrations/mdx/test/mdx-plus-react.test.js index 904c58b14..d0f6095c1 100644 --- a/packages/integrations/mdx/test/mdx-plus-react.test.js +++ b/packages/integrations/mdx/test/mdx-plus-react.test.js @@ -5,10 +5,10 @@ import { loadFixture } from '../../../astro/test/test-utils.js'; function hookError() { const error = console.error; const errors = []; - console.error = function(...args) { + console.error = function (...args) { errors.push(args); }; - return () => { + return () => { console.error = error; return errors; }; |