Skip to content

Commit

Permalink
attempt to fix karma tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Apr 27, 2020
1 parent 5082c6e commit c0332e1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tasks/config/karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ module.exports = function(grunt) {
'http://localhost:5610/test_bundle/karma/globals.js',

...UiSharedDeps.jsDepFilenames.map(
chunkFilename => `http://localhost:5610/bundles/kbn-ui-shared-deps/${chunkFilename}`
chunkFilename =>
`http://localhost:5610/bundles/9007199254740991/kbn-ui-shared-deps/${chunkFilename}`
),
`http://localhost:5610/bundles/kbn-ui-shared-deps/${UiSharedDeps.jsFilename}`,
`http://localhost:5610/bundles/9007199254740991/kbn-ui-shared-deps/${UiSharedDeps.jsFilename}`,

'http://localhost:5610/built_assets/dlls/vendors_runtime.bundle.dll.js',
...DllCompiler.getRawDllConfig().chunks.map(
Expand All @@ -70,7 +71,7 @@ module.exports = function(grunt) {
? `http://localhost:5610/bundles/tests.bundle.js`
: `http://localhost:5610/bundles/tests.bundle.js?shards=${TOTAL_CI_SHARDS}&shard_num=${shardNum}`,

`http://localhost:5610/bundles/kbn-ui-shared-deps/${UiSharedDeps.baseCssDistFilename}`,
`http://localhost:5610/bundles/9007199254740991/kbn-ui-shared-deps/${UiSharedDeps.baseCssDistFilename}`,
// this causes tilemap tests to fail, probably because the eui styles haven't been
// included in the karma harness a long some time, if ever
// `http://localhost:5610/bundles/kbn-ui-shared-deps/${UiSharedDeps.lightCssDistFilename}`,
Expand Down

0 comments on commit c0332e1

Please sign in to comment.