Fixes for breaking changes

- new webpack dev server options
- babel support for async functions in hooks
- new uuid import style
- automatically open browser for testing
This commit is contained in:
Filip Proborszcz
2022-04-08 02:23:43 +02:00
parent ab00c9f426
commit d73add77e7
8 changed files with 48 additions and 51 deletions

View File

@@ -1,7 +1,6 @@
var config = {};
var testNetwork = process.env.TEST_NETWORK || "localhost";
config.testNetwork = process.env.TEST_NETWORK || "localhost";
config.port = 9001;
config.baseUrl = "http://"+testNetwork+":"+config.port;
config.baseUrl = "http://"+config.testNetwork+":"+config.port;
module.exports = config;

View File

@@ -1,5 +1,5 @@
var wd = require("../wd-helper");
var uuid = require('uuid/v1');
var {v1: uuid} = require('uuid');
var geoServer = require("../geojson-server");
var testNetwork = process.env.TEST_NETWORK || "localhost";

View File

@@ -1,7 +1,7 @@
var assert = require("assert");
var config = require("../../config/specs");
var helper = require("../helper");
var uuid = require('uuid/v1');
var {v1: uuid} = require('uuid');
var wd = require("../../wd-helper");