mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 10:05:24 +01:00
Moved to testing from webpack.production.config also added verbose logging.
This commit is contained in:
parent
203aaf51b7
commit
a819154145
1 changed files with 3 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
var webpack = require("webpack");
|
var webpack = require("webpack");
|
||||||
var WebpackDevServer = require("webpack-dev-server");
|
var WebpackDevServer = require("webpack-dev-server");
|
||||||
var webpackConfig = require("./webpack.config");
|
var webpackConfig = require("./webpack.production.config");
|
||||||
var testConfig = require("../test/config/specs");
|
var testConfig = require("../test/config/specs");
|
||||||
|
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ exports.config = {
|
||||||
browserName: 'firefox'
|
browserName: 'firefox'
|
||||||
}],
|
}],
|
||||||
sync: true,
|
sync: true,
|
||||||
logLevel: 'silent',
|
logLevel: 'verbose',
|
||||||
coloredLogs: true,
|
coloredLogs: true,
|
||||||
bail: 0,
|
bail: 0,
|
||||||
screenshotPath: './errorShots/',
|
screenshotPath: './errorShots/',
|
||||||
|
@ -36,9 +36,7 @@ exports.config = {
|
||||||
},
|
},
|
||||||
onPrepare: function (config, capabilities) {
|
onPrepare: function (config, capabilities) {
|
||||||
var compiler = webpack(webpackConfig);
|
var compiler = webpack(webpackConfig);
|
||||||
server = new WebpackDevServer(compiler, {
|
server = new WebpackDevServer(compiler, {});
|
||||||
stats: "minimal"
|
|
||||||
});
|
|
||||||
server.listen(testConfig.port);
|
server.listen(testConfig.port);
|
||||||
},
|
},
|
||||||
onComplete: function(exitCode) {
|
onComplete: function(exitCode) {
|
||||||
|
|
Loading…
Reference in a new issue