diff --git a/packages/gatsby-cli/src/__tests__/handlers/plugin-add.ts b/packages/gatsby-cli/src/__tests__/handlers/plugin-add.ts index 74a26e33107ea..2c760f245416a 100644 --- a/packages/gatsby-cli/src/__tests__/handlers/plugin-add.ts +++ b/packages/gatsby-cli/src/__tests__/handlers/plugin-add.ts @@ -75,7 +75,7 @@ describe(`addPlugins`, () => { }) }) - describe.skip(`gatsby-config.ts`, () => { + describe(`gatsby-config.ts`, () => { beforeEach(async () => { await copyFile(config.ts.starter, config.ts.fixture) }) diff --git a/starters/gatsby-starter-minimal-ts/gatsby-config.js b/starters/gatsby-starter-minimal-ts/gatsby-config.js deleted file mode 100644 index 110cc039ac077..0000000000000 --- a/starters/gatsby-starter-minimal-ts/gatsby-config.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @type {import('gatsby').GatsbyConfig} */ -module.exports = { - siteMetadata: { - siteUrl: `https://www.yourdomain.tld`, - }, - plugins: [], -} diff --git a/starters/gatsby-starter-minimal-ts/gatsby-config.ts b/starters/gatsby-starter-minimal-ts/gatsby-config.ts new file mode 100644 index 0000000000000..0b6ec608e947d --- /dev/null +++ b/starters/gatsby-starter-minimal-ts/gatsby-config.ts @@ -0,0 +1,10 @@ +import type { GatsbyConfig } from "gatsby" + +const config: GatsbyConfig = { + siteMetadata: { + siteUrl: `https://www.yourdomain.tld`, + }, + plugins: [], +} + +export default config