fix(npmtasks): cypress open

This commit is contained in:
moklick
2019-09-26 15:16:37 +02:00
parent a087faf3ca
commit befb3d1dcd
5 changed files with 6 additions and 5 deletions

View File

@@ -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 = {};

View File

@@ -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 = {};

View File

@@ -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 = {};

View File

@@ -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 = {};

View File

@@ -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": {