Skip to content

Commit

Permalink
fix dependencies (#116)
Browse files Browse the repository at this point in the history
SVCINT-1979
  • Loading branch information
mikegron authored Nov 30, 2022
1 parent 3b8671d commit 645a037
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 523 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pipeline {
timeout(time: 1, unit: "HOURS")
}
environment {
NODE_IMAGE = "node:lts"
NODE_IMAGE = "node:16"
DEPLOY_PIPELINE_IMAGE = '458176070654.dkr.ecr.us-east-1.amazonaws.com/jenkins/deployment_package:v7'
CYPRESS_CACHE_FOLDER = "${WORKSPACE}/.cache/cypress"
NPM_CONFIG_CACHE = "${WORKSPACE}/.cache/npm"
Expand Down
8 changes: 0 additions & 8 deletions config/webpack.config.karma.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const path = require('path');
const WebpackKarmaDieHardPlugin = require('webpack-karma-die-hard');

const webpackConfig = require('./webpack.config.js');
// These modifications are required to have proper coverage with karma-coverage-istanbul-reporter.
Expand Down Expand Up @@ -45,11 +44,4 @@ webpackConfig.externals.push({
'coveo-search-ui-tests': 'CoveoJsSearchTests',
});

/**
* Plugin for Webpack to ensure errors cause it to quit with a non-zero exit code
* when used as a Karma preprocessor with the karma-webpack plugin.
* This works around known issues in karma-webpack: https://github.com/webpack-contrib/karma-webpack/issues/66
*/
webpackConfig.plugins.push(new WebpackKarmaDieHardPlugin());

module.exports = webpackConfig;
Loading

0 comments on commit 645a037

Please sign in to comment.