Skip to content

Commit ed8a229

Browse files
committed
chore: remove Vitest configuration from vite.config.ts
- Deleted the existing Vitest configuration section from vite.config.ts to streamline the configuration. - This change simplifies the build process and prepares for a potential new testing setup.
1 parent 6069cea commit ed8a229

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

vite.config.ts

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -59,42 +59,6 @@ export default defineConfig({
5959
/* cssInjectedByJsPlugin(), */
6060

6161
],
62-
test: {
63-
environment: process.env.BROWSER_TEST ? 'node' : 'jsdom',
64-
globals: true,
65-
threads: false,
66-
alias: {
67-
'/@': resolve(__dirname, './src'),
68-
},
69-
isolate: !process.env.BROWSER_TEST,
70-
browser: {
71-
enabled: !!process.env.BROWSER_TEST,
72-
73-
// @ts-expect-error ignore, we don't have the type here in vitest
74-
enableUI: true,
75-
name: 'chrome',
76-
headless: !!process.env.HEADLESS,
77-
provider: 'webdriverio',
78-
},
79-
reporters: process.env.BROWSER_TEST
80-
? [
81-
'json',
82-
{
83-
onInit: noop,
84-
onPathsCollected: noop,
85-
onCollected: noop,
86-
onFinished: noop,
87-
onTaskUpdate: noop,
88-
onTestRemoved: noop,
89-
onWatcherStart: noop,
90-
onWatcherRerun: noop,
91-
onServerRestart: noop,
92-
onUserConsoleLog: noop,
93-
},
94-
'default',
95-
]
96-
: undefined,
97-
},
9862
build: {
9963
lib: {
10064
entry: resolve(__dirname, 'src/index.ts'),

0 commit comments

Comments
 (0)