From adf5f9b44e247422b7132578e8a778b424223c69 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Wed, 9 Nov 2022 13:54:51 +0100 Subject: [PATCH] test: update snapshots after adding js codehints to minimal starter (#36999) --- .../handlers/__snapshots__/plugin-add.ts.snap | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/packages/gatsby-cli/src/__tests__/handlers/__snapshots__/plugin-add.ts.snap b/packages/gatsby-cli/src/__tests__/handlers/__snapshots__/plugin-add.ts.snap index e4ed643d8ccd2..cab0714361156 100644 --- a/packages/gatsby-cli/src/__tests__/handlers/__snapshots__/plugin-add.ts.snap +++ b/packages/gatsby-cli/src/__tests__/handlers/__snapshots__/plugin-add.ts.snap @@ -1,7 +1,10 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`addPlugins gatsby-config.js should not write with no plugins 1`] = ` -"module.exports = { +"/** + * @type {import('gatsby').GatsbyConfig} + */ +module.exports = { siteMetadata: { siteUrl: \`https://www.yourdomain.tld\`, }, @@ -11,7 +14,10 @@ exports[`addPlugins gatsby-config.js should not write with no plugins 1`] = ` `; exports[`addPlugins gatsby-config.js should write a plugin with options 1`] = ` -"module.exports = { +"/** + * @type {import('gatsby').GatsbyConfig} + */ +module.exports = { siteMetadata: { siteUrl: \`https://www.yourdomain.tld\` }, @@ -25,7 +31,10 @@ exports[`addPlugins gatsby-config.js should write a plugin with options 1`] = ` `; exports[`addPlugins gatsby-config.js should write a single plugin 1`] = ` -"module.exports = { +"/** + * @type {import('gatsby').GatsbyConfig} + */ +module.exports = { siteMetadata: { siteUrl: \`https://www.yourdomain.tld\` }, @@ -34,7 +43,10 @@ exports[`addPlugins gatsby-config.js should write a single plugin 1`] = ` `; exports[`addPlugins gatsby-config.js should write multiple plugins 1`] = ` -"module.exports = { +"/** + * @type {import('gatsby').GatsbyConfig} + */ +module.exports = { siteMetadata: { siteUrl: \`https://www.yourdomain.tld\` },