diff --git a/tests/components/ct-svelte-kit/.gitignore b/tests/components/ct-svelte-kit/.gitignore deleted file mode 100644 index f4401a32d2..0000000000 --- a/tests/components/ct-svelte-kit/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -.DS_Store -node_modules -/build -/.svelte-kit -/package -.env -.env.* -!.env.example diff --git a/tests/components/ct-svelte-kit/.npmrc b/tests/components/ct-svelte-kit/.npmrc deleted file mode 100644 index b6f27f1359..0000000000 --- a/tests/components/ct-svelte-kit/.npmrc +++ /dev/null @@ -1 +0,0 @@ -engine-strict=true diff --git a/tests/components/ct-svelte-kit/README.md b/tests/components/ct-svelte-kit/README.md deleted file mode 100644 index 94a48f5ff8..0000000000 --- a/tests/components/ct-svelte-kit/README.md +++ /dev/null @@ -1,40 +0,0 @@ -# create-svelte - -Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte). - -## Creating a project - -If you're seeing this, you've probably already done this step. Congrats! - -```bash -# create a new project in the current directory -npm init svelte@next - -# create a new project in my-app -npm init svelte@next my-app -``` - -> Note: the `@next` is temporary - -## Developing - -Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: - -```bash -npm run dev - -# or start the server and open the app in a new browser tab -npm run dev -- --open -``` - -## Building - -To create a production version of your app: - -```bash -npm run build -``` - -You can preview the production build with `npm run preview`. - -> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. diff --git a/tests/components/ct-svelte-kit/jsconfig.json b/tests/components/ct-svelte-kit/jsconfig.json deleted file mode 100644 index d1deb76043..0000000000 --- a/tests/components/ct-svelte-kit/jsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "./.svelte-kit/tsconfig.json" -} diff --git a/tests/components/ct-svelte-kit/package.json b/tests/components/ct-svelte-kit/package.json deleted file mode 100644 index 5923ef872a..0000000000 --- a/tests/components/ct-svelte-kit/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "ct-svelte-kit", - "version": "0.0.1", - "scripts": { - "dev": "svelte-kit dev", - "build": "svelte-kit build", - "package": "svelte-kit package", - "preview": "svelte-kit preview", - "prepare": "svelte-kit sync" - }, - "devDependencies": { - "@sveltejs/adapter-auto": "next", - "@sveltejs/kit": "next", - "svelte": "^3.44.0" - }, - "@standaloneDevDependencies": { - "@playwright/experimental-ct-svelte": "^1.22.2", - "@playwright/test": "^1.22.2" - }, - "type": "module" -} \ No newline at end of file diff --git a/tests/components/ct-svelte-kit/playwright.config.ts b/tests/components/ct-svelte-kit/playwright.config.ts deleted file mode 100644 index ce93c2efee..0000000000 --- a/tests/components/ct-svelte-kit/playwright.config.ts +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import type { PlaywrightTestConfig } from '@playwright/experimental-ct-svelte'; -import { devices } from '@playwright/test'; - -const config: PlaywrightTestConfig = { - testDir: 'src', - forbidOnly: !!process.env.CI, - retries: process.env.CI ? 2 : 0, - reporter: 'html', - use: { - trace: 'on-first-retry', - }, - projects: [ - { - name: 'chromium', - use: { ...devices['Desktop Chrome'] }, - }, - { - name: 'firefox', - use: { ...devices['Desktop Firefox'] }, - }, - { - name: 'webkit', - use: { ...devices['Desktop Safari'] }, - }, - ], -}; - -export default config; diff --git a/tests/components/ct-svelte-kit/playwright/index.html b/tests/components/ct-svelte-kit/playwright/index.html deleted file mode 100644 index 9f3d2a65b9..0000000000 --- a/tests/components/ct-svelte-kit/playwright/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - -
- - - -Visit kit.svelte.dev to read the documentation
diff --git a/tests/components/ct-svelte-kit/static/favicon.png b/tests/components/ct-svelte-kit/static/favicon.png deleted file mode 100644 index 825b9e65af..0000000000 Binary files a/tests/components/ct-svelte-kit/static/favicon.png and /dev/null differ diff --git a/tests/components/ct-svelte-kit/svelte.config.js b/tests/components/ct-svelte-kit/svelte.config.js deleted file mode 100644 index b42b17beb2..0000000000 --- a/tests/components/ct-svelte-kit/svelte.config.js +++ /dev/null @@ -1,10 +0,0 @@ -import adapter from '@sveltejs/adapter-auto'; - -/** @type {import('@sveltejs/kit').Config} */ -const config = { - kit: { - adapter: adapter() - } -}; - -export default config;