summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2023-08-31 15:32:51 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-08-31 15:32:51 +0000
commitf36bce043ff3137b4178a88fde581e5e3374869d (patch)
tree303e38d2a71e25e0d3245140f5afca4e1ea1895f /packages/integrations/mdx
parent0752cf3688eaac535ceda1ebcd22ccaf20b2171f (diff)
downloadastro-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.js4
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;
};