We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c99094d commit b74291eCopy full SHA for b74291e
test/karma.conf.js
@@ -61,6 +61,9 @@ module.exports = function (config) {
61
{ pattern: '../src/classic/libs/SuperMap_Basic-8.1.1-17729.js', included: true },
62
{ pattern: '../src/classic/libs/Lang/*.js', included: true },
63
{ pattern: '../src/classic/theme/default/*.css', included: true },
64
+ { pattern: './resources/data/**.fgb', included: false },
65
+ { pattern: './resources/img/**.svg', included: false },
66
+ { pattern: './resources/img/baiduTileTest.png', included: false },
67
/**测试文件**/
68
'./test-main-classic.js',
69
@@ -83,8 +86,6 @@ module.exports = function (config) {
83
86
'../src/openlayers/**/!(index).js',
84
87
85
88
'./test-main-openlayers.js',
- { pattern: './resources/data/**.fgb', included: false },
- { pattern: './resources/img/**.svg', included: false },
89
/***mapboxgl***/
90
{ pattern: '../node_modules/mapbox-gl/dist/mapbox-gl.css', included: true },
91
'../src/mapboxgl/**/!(index).js',
test/tool/mock_leaflet.js
@@ -11,6 +11,7 @@ export function mockCreateTile() {
11
}
12
tile.alt = '';
13
tile.setAttribute('role', 'presentation');
14
+ tile.src = 'base/resources/img/baiduTileTest.png';
15
this.getTileUrl(coords);
16
return tile;
17
};
0 commit comments