Skip to content

Commit 60be2b3

Browse files
committed
test: use different hash function because of ssl breaking change
1 parent 454ee12 commit 60be2b3

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

test/e2e/fixtures/type-definitions/webpack.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
22

33
const config = {
44
entry: './src/index.ts',
5+
output: {
6+
hashFunction: 'xxhash64', // @see https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
7+
},
58
plugins: [
69
new ForkTsCheckerWebpackPlugin({
710
async: 'invalid_value',

test/e2e/fixtures/typescript-basic/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module.exports = {
66
output: {
77
filename: 'index.js',
88
path: path.resolve(__dirname, 'dist'),
9+
hashFunction: 'xxhash64', // @see https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
910
},
1011
module: {
1112
rules: [

test/e2e/fixtures/typescript-monorepo/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module.exports = {
66
output: {
77
filename: 'index.js',
88
path: path.resolve(__dirname, 'dist'),
9+
hashFunction: 'xxhash64', // @see https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
910
},
1011
module: {
1112
rules: [

test/e2e/fixtures/typescript-pnp/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module.exports = {
77
output: {
88
filename: 'index.js',
99
path: path.resolve(__dirname, 'dist'),
10+
hashFunction: 'xxhash64', // @see https://stackoverflow.com/questions/69692842/error-message-error0308010cdigital-envelope-routinesunsupported
1011
},
1112
module: {
1213
rules: [

0 commit comments

Comments
 (0)