☕️ Classic, reliable, trusted test framework for Node.js and the browser
redirect webpack test output to a temp dir
Christopher Hillerc1db2a6b6c05
diff --git a/test/browser-specific/fixtures/webpack/webpack.config.js b/test/browser-specific/fixtures/webpack/webpack.config.jsindex f43a80d0..53d4769c 100644--- a/test/browser-specific/fixtures/webpack/webpack.config.js+++ b/test/browser-specific/fixtures/webpack/webpack.config.js@@ -1,9 +1,18 @@'use strict';const FailOnErrorsPlugin = require('fail-on-errors-webpack-plugin');+const {tmpdir} = require('os');+const {join} = require('path');++const outputPath = join(tmpdir(), 'mocha-test-webpack');++console.error('output dir: %s', outputPath);module.exports = {entry: require.resolve('./webpack.fixture.mjs'),+ output: {+ path: outputPath+ },plugins: [new FailOnErrorsPlugin({failOnErrors: true,