ispt4.0_laravel/node_modules/pusher-js/spec/config/karma/config.integration.js
2025-03-12 12:02:15 +00:00

27 lines
651 B
JavaScript
Executable File

const { merge } = require('webpack-merge');
const webpack = require('webpack');
const commonConfig = require('./config.common');
module.exports = merge({}, commonConfig, {
files: [
'**/spec/javascripts/integration/index.web.js'
],
preprocessors: {
'**/spec/javascripts/integration/index.web.js': ['webpack']
},
webpack: {
resolve: {
modules: ['spec/javascripts/helpers/web'],
alias: {
integration: 'web/integration'
}
},
plugins: [
new webpack.DefinePlugin({
'process.env.MINIMAL_INTEGRATION_TESTS': JSON.stringify(process.env.MINIMAL_INTEGRATION_TESTS),
})
],
}
});