mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 03:21:56 +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 WebpackDevServer = require("webpack-dev-server");
|
||||
var webpackConfig = require("./webpack.config");
|
||||
var webpackConfig = require("./webpack.production.config");
|
||||
var testConfig = require("../test/config/specs");
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ exports.config = {
|
|||
browserName: 'firefox'
|
||||
}],
|
||||
sync: true,
|
||||
logLevel: 'silent',
|
||||
logLevel: 'verbose',
|
||||
coloredLogs: true,
|
||||
bail: 0,
|
||||
screenshotPath: './errorShots/',
|
||||
|
@ -36,9 +36,7 @@ exports.config = {
|
|||
},
|
||||
onPrepare: function (config, capabilities) {
|
||||
var compiler = webpack(webpackConfig);
|
||||
server = new WebpackDevServer(compiler, {
|
||||
stats: "minimal"
|
||||
});
|
||||
server = new WebpackDevServer(compiler, {});
|
||||
server.listen(testConfig.port);
|
||||
},
|
||||
onComplete: function(exitCode) {
|
||||
|
|
Loading…
Reference in a new issue