Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Benehiko committed Sep 26, 2023
1 parent c9dcb17 commit c8eecd8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 81 deletions.
17 changes: 12 additions & 5 deletions playwright-ct.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import dts from "vite-plugin-dts"
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
testDir: "./src/react-components/",
testDir: "./src",
/* Maximum time one test can run for. */
timeout: 10 * 1000,
/* Run tests in files in parallel */
Expand Down Expand Up @@ -40,13 +40,20 @@ export default defineConfig({
ctPort: 3100,
ctViteConfig: {
plugins: [
vanillaExtractPlugin(),
react(),
vanillaExtractPlugin({
emitCssInSsr: true,
}),
dts({ insertTypesEntry: true }),
],
root: __dirname,
build: {
rollupOptions: {
external: ["express"],
output: {
globals: {
express: "express",
},
},
},
},
},
},
/* Configure projects for major browsers */
Expand Down
75 changes: 0 additions & 75 deletions src/markup-components/express.spec.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// SPDX-License-Identifier: Apache-2.0

import { expect, test as base } from "@playwright/experimental-ct-react"
import * as supportedLanguages from "../locales"
import * as supportedLanguages from "../../locales"

type Language = {
[K in keyof typeof supportedLanguages.en]: string
Expand Down

0 comments on commit c8eecd8

Please sign in to comment.