test(task): run cypress headless
This commit is contained in:
+2
-2
@@ -18,7 +18,7 @@
|
|||||||
"build:example": "npm install && npm run build && cd example && npm install && npm run build",
|
"build:example": "npm install && npm run build && cd example && npm install && npm run build",
|
||||||
"cy:open": "cypress open",
|
"cy:open": "cypress open",
|
||||||
"cypress": "npm run dev:wait cy:open",
|
"cypress": "npm run dev:wait cy:open",
|
||||||
"test:chrome": "cypress run --browser chrome",
|
"test:chrome": "cypress run --browser chrome --headless",
|
||||||
"test:firefox": "cypress run --browser firefox",
|
"test:firefox": "cypress run --browser firefox",
|
||||||
"test:all": "npm run test:chrome && npm run test:firefox",
|
"test:all": "npm run test:chrome && npm run test:firefox",
|
||||||
"test": "npm run dev:wait test:chrome",
|
"test": "npm run dev:wait test:chrome",
|
||||||
@@ -74,4 +74,4 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user