feat: Test pipeline

* Rename tests dir to e2e as tests gets ignored as "package" by turbo
This commit is contained in:
Braks
2022-04-11 11:30:10 +02:00
parent ca5033b272
commit 08204fdcbb
12 changed files with 2 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
import { resolve } from 'path'
import { startDevServer } from '@cypress/vite-dev-server'
export default ((on, config) => {
on('dev-server:start', async (options) =>
startDevServer({
options,
viteConfig: {
mode: 'test',
configFile: resolve(__dirname, 'vite.config.ts'),
},
}),
)
return config
}) as Cypress.PluginConfig
+6
View File
@@ -0,0 +1,6 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
})