summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2021-12-01 16:38:57 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-12-01 16:38:57 +0000
commit49019aa2d6c7e33ef7410bd0e40b85560fe8e8ff (patch)
tree910370640692f2835b0ec196322e1cf5242dd1ae
parentee4ad432021ab00a6308af1ea8ee288b821107b6 (diff)
downloadastro-49019aa2d6c7e33ef7410bd0e40b85560fe8e8ff.tar.gz
astro-49019aa2d6c7e33ef7410bd0e40b85560fe8e8ff.tar.zst
astro-49019aa2d6c7e33ef7410bd0e40b85560fe8e8ff.zip
[ci] yarn format
-rw-r--r--packages/astro/test/config-validate.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/astro/test/config-validate.test.js b/packages/astro/test/config-validate.test.js
index 5251da61c..d8e58f781 100644
--- a/packages/astro/test/config-validate.test.js
+++ b/packages/astro/test/config-validate.test.js
@@ -14,9 +14,9 @@ describe('Config Validation', () => {
});
it('errors when an older markdownOptions format is used', async () => {
- const configError = await validateConfig({ markdownOptions: { rehypePlugins: ["rehype-autolink-headings"] } }, process.cwd()).catch((err) => err);
+ const configError = await validateConfig({ markdownOptions: { rehypePlugins: ['rehype-autolink-headings'] } }, process.cwd()).catch((err) => err);
expect(configError instanceof z.ZodError).to.equal(true);
- expect(configError.issues[0].message).to.equal("Unrecognized key(s) in object: 'rehypePlugins'")
+ expect(configError.issues[0].message).to.equal("Unrecognized key(s) in object: 'rehypePlugins'");
});
it('A validation error can be formatted correctly', async () => {