diff options
author | 2021-12-01 16:38:57 +0000 | |
---|---|---|
committer | 2021-12-01 16:38:57 +0000 | |
commit | 49019aa2d6c7e33ef7410bd0e40b85560fe8e8ff (patch) | |
tree | 910370640692f2835b0ec196322e1cf5242dd1ae | |
parent | ee4ad432021ab00a6308af1ea8ee288b821107b6 (diff) | |
download | astro-49019aa2d6c7e33ef7410bd0e40b85560fe8e8ff.tar.gz astro-49019aa2d6c7e33ef7410bd0e40b85560fe8e8ff.tar.zst astro-49019aa2d6c7e33ef7410bd0e40b85560fe8e8ff.zip |
[ci] yarn format
-rw-r--r-- | packages/astro/test/config-validate.test.js | 4 |
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 () => { |