File tree Expand file tree Collapse file tree 1 file changed +18
-17
lines changed Expand file tree Collapse file tree 1 file changed +18
-17
lines changed Original file line number Diff line number Diff line change 1- import Vue from '@vitejs/plugin-vue' ;
2- import path from 'path'
3- import { defineConfig } from "vite" ;
4-
1+ import Vue from "@vitejs/plugin-vue" ;
2+ import path from "path" ;
3+ import { defineConfig } from "vite" ;
54
65export default defineConfig ( {
7- resolve : {
8- alias : {
9- '@' : path . resolve ( __dirname , './src' )
10- } ,
6+ resolve : {
7+ alias : {
8+ "@" : path . resolve ( __dirname , "./src" ) ,
9+ } ,
10+ } ,
11+ plugins : [ Vue ( ) ] ,
12+ // @ts -ignore
13+ test : {
14+ browser : {
15+ provider : "playwright" , // or 'webdriverio'
16+ enabled : true ,
17+ // at least one instance is required
18+ instances : [ { browser : "chromium" } ] ,
1119 } ,
12- plugins : [ Vue ( ) ] ,
13- // @ts -ignore
14- test : {
15- browser : {
16- enabled : true ,
17- name : 'chrome' , // browser name is required
18- } ,
19- }
20- } )
20+ } ,
21+ } ) ;
You can’t perform that action at this time.
0 commit comments