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 () => {