Skip to content

Commit 964d8f4

Browse files
committed
fix UT
1 parent 1ab03c9 commit 964d8f4

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

test/karma.conf.js

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -38,47 +38,32 @@ module.exports = function (config) {
3838
{pattern: '../src/classic/libs/Lang/*.js', include: false},
3939
{pattern: '../src/classic/theme/default/*.css', include: false},
4040
/**测试文件**/
41-
// './test-main-classic.js',
41+
'./test-main-classic.js',
4242

4343
/***common的源码***/
4444
'../src/common/**/*.js',
4545
/**测试文件**/
46-
// './test-main-common.js',
46+
'./test-main-common.js',
4747

4848
/***leaflet的源码***/
4949
{pattern: '../node_modules/leaflet/dist/leaflet.css', include: false},
5050
{pattern: '../src/leaflet/**/**/*.css', include: false},
5151
'../src/leaflet/**/!(ClientComputationView|index).js',
5252
/**测试文件**/
53-
// './test-main-leaflet.js',
53+
'./test-main-leaflet.js',
5454

5555
/***openlayers的源码***/
5656
{pattern: '../node_modules/openlayers/dist/ol-debug.css', include: false},
5757
{pattern: '../src/openlayers/**/**/*.css', include: false},
5858
'../src/openlayers/**/!(index).js',
5959
/**测试文件**/
60-
// './test-main-openlayers.js',
60+
'./test-main-openlayers.js',
6161

6262
/***mapboxgl***/
6363
{pattern: '../node_modules/mapbox-gl/dist/mapbox-gl.css', include: false},
6464
'../src/mapboxgl/**/!(index).js',
6565
/**测试文件**/
66-
// './test-main-mapboxgl.js'
67-
68-
69-
'./mapboxgl/overlay/GraphicLayerSpec.js',
70-
'./mapboxgl/overlay/graphic/GraphicSpec.js',
71-
72-
'./leaflet/overlay/GraphicLayerSpec.js',
73-
'./leaflet/overlay/graphic/GraphicSpec.js',
74-
75-
'./openlayers/overlay/graphic/GraphicSpec.js',
76-
77-
'./mapboxgl/overlay/GraphicLayerSpec.js',
78-
'./mapboxgl/overlay/GraphThemeLayerSpec.js',
79-
'./openlayers/overlay/GraphicSpec.js',
80-
81-
'./leaflet/core/Proj4LeafletSpec.js',
66+
'./test-main-mapboxgl.js'
8267
],
8368

8469
// list of files to exclude 测试时排除的文件

0 commit comments

Comments
 (0)