Skip to content

Commit 8977878

Browse files
jenkins-botGerrit Code Review
authored andcommitted
Merge "bridge: update to jest 28"
2 parents 72f1fd4 + 7db059b commit 8977878

File tree

11 files changed

+5908
-3983
lines changed

11 files changed

+5908
-3983
lines changed

client/data-bridge/.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.17.5
1+
16.19.1

client/data-bridge/jest.config.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
module.exports = {
2-
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
32
moduleFileExtensions: [
43
'js',
54
'jsx',
@@ -21,10 +20,13 @@ module.exports = {
2120
'jest-serializer-vue',
2221
],
2322
testEnvironment: '<rootDir>/tests/config/JestCustomEnvironment.js',
23+
testEnvironmentOptions: {
24+
customExportConditions: [ 'node', 'node-addons' ],
25+
url: 'https://data-bridge.test/jest',
26+
},
2427
testMatch: [
2528
'**/tests/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)',
2629
],
27-
testURL: 'https://data-bridge.test/jest',
2830
transform: {
2931
'^.+\\.vue$': '@vue/vue3-jest',
3032
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',

0 commit comments

Comments
 (0)