Skip to content

Commit 1c88d1b

Browse files
committed
fix browser and webworker tests
1 parent 1e0b690 commit 1c88d1b

File tree

2 files changed

+29
-3
lines changed

2 files changed

+29
-3
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*!
2+
* Copyright The OpenTelemetry Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
const karmaWebpackConfig = require('../../karma.webpack');
18+
const karmaBaseConfig = require('../../karma.worker');
19+
20+
module.exports = (config) => {
21+
config.set(Object.assign({}, karmaBaseConfig, {
22+
webpack: karmaWebpackConfig
23+
}))
24+
};

packages/propagator-aws-xray/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@
5555
"@types/node": "18.6.5",
5656
"@types/webpack-env": "1.16.2",
5757
"@jsdevtools/coverage-istanbul-loader": "3.0.5",
58-
"karma": "6.3.16",
59-
"karma-chrome-launcher": "^3.1.1",
60-
"karma-coverage-istanbul-reporter": "3.0.3",
58+
"karma": "6.4.2",
59+
"karma-chrome-launcher": "3.1.0",
60+
"karma-coverage": "2.2.1",
61+
"karma-jquery": "0.2.4",
6162
"karma-mocha": "2.0.1",
63+
"karma-mocha-webworker": "1.3.0",
6264
"karma-spec-reporter": "0.0.36",
6365
"karma-webpack": "4.0.2",
6466
"mocha": "7.2.0",

0 commit comments

Comments
 (0)