fix(npmtasks): cypress open
This commit is contained in:
@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
|
||||
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
||||
var hostname = "" || location.hostname;
|
||||
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "50208" + '/');
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "52807" + '/');
|
||||
|
||||
ws.onmessage = function (event) {
|
||||
checkedAssets = {};
|
||||
|
||||
@@ -212,7 +212,7 @@ var parent = module.bundle.parent;
|
||||
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
||||
var hostname = "" || location.hostname;
|
||||
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "50208" + '/');
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "52807" + '/');
|
||||
|
||||
ws.onmessage = function (event) {
|
||||
checkedAssets = {};
|
||||
|
||||
@@ -46363,7 +46363,7 @@ var parent = module.bundle.parent;
|
||||
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
||||
var hostname = "" || location.hostname;
|
||||
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "50208" + '/');
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "52807" + '/');
|
||||
|
||||
ws.onmessage = function (event) {
|
||||
checkedAssets = {};
|
||||
|
||||
@@ -46717,7 +46717,7 @@ var parent = module.bundle.parent;
|
||||
if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
|
||||
var hostname = "" || location.hostname;
|
||||
var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "50208" + '/');
|
||||
var ws = new WebSocket(protocol + '://' + hostname + ':' + "52807" + '/');
|
||||
|
||||
ws.onmessage = function (event) {
|
||||
checkedAssets = {};
|
||||
|
||||
@@ -51,7 +51,8 @@
|
||||
"build:example": "parcel build examples/*.html -d examples/build",
|
||||
"dev:wait": "start-server-and-test dev http-get://localhost:1234/index.html",
|
||||
"cy:run": "cypress run",
|
||||
"cypress": "npm run dev:wait cypress open",
|
||||
"cy:open": "cypress run",
|
||||
"cypress": "npm run dev:wait cy:open",
|
||||
"test": "npm run dev:wait cy:run"
|
||||
},
|
||||
"husky": {
|
||||
|
||||
Reference in New Issue
Block a user