diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index b1412a670d8b..1d0686747347 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -118,7 +118,6 @@ "test": "yarn test:unit", "test:all": "run-s test:unit", "test:unit": "jest", - "test:types": "cd test/types && yarn test", "test:watch": "jest --watch", "vercel:branch": "source vercel/set-up-branch-for-test-app-use.sh", "vercel:project": "source vercel/make-project-use-current-branch.sh", diff --git a/packages/nextjs/test/types/.gitignore b/packages/nextjs/test/types/.gitignore deleted file mode 100644 index 23d67fc10447..000000000000 --- a/packages/nextjs/test/types/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -node_modules/ -yarn.lock diff --git a/packages/nextjs/test/types/next.config.ts b/packages/nextjs/test/types/next.config.ts deleted file mode 100644 index 1039c99162b2..000000000000 --- a/packages/nextjs/test/types/next.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import type { NextConfig } from 'next'; - -import { withSentryConfig } from '../../src/config/withSentryConfig'; - -const config: NextConfig = { - webpack: config => ({ - ...config, - module: { - ...config.module, - rules: [...config.module.rules], - }, - }), -}; - -module.exports = withSentryConfig(config); diff --git a/packages/nextjs/test/types/package.json b/packages/nextjs/test/types/package.json deleted file mode 100644 index a3df1aed6d76..000000000000 --- a/packages/nextjs/test/types/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "description": "This is used to install the nextjs v12 so we can test against those types", - "scripts": { - "test": "yarn && yarn tsc --noEmit --project tsconfig.json" - }, - "dependencies": { - "next": "13.2.0" - } -} diff --git a/packages/nextjs/test/types/tsconfig.json b/packages/nextjs/test/types/tsconfig.json deleted file mode 100644 index adedc2fafa6c..000000000000 --- a/packages/nextjs/test/types/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "extends": "../tsconfig.json", - "include": [ - "./**/*" - ] -}