mirror of
https://github.com/Leaflet/Leaflet.git
synced 2025-07-21 23:26:12 +00:00
Speed up Karma runner by narrowing down files Karma serves (#9231)
This commit is contained in:

committed by
GitHub

parent
3443bd9c86
commit
ea27b0f6cc
@ -18,7 +18,8 @@ module.exports = function (/** @type {import('karma').Config} */ config) {
|
||||
customContextFile: 'spec/context.html',
|
||||
customDebugFile: 'spec/debug.html',
|
||||
files: [
|
||||
{pattern: 'node_modules/**', included: false, served: true},
|
||||
{pattern: 'node_modules/ui-event-simulator/**/*.js', included: false, served: true},
|
||||
{pattern: 'node_modules/prosthetic-hand/**/*.js', included: false, served: true},
|
||||
{pattern: 'dist/**/*.js', included: false, served: true},
|
||||
{pattern: 'dist/**/*.png', included: false, served: true},
|
||||
{pattern: 'spec/setup.js', type: 'module'},
|
||||
|
Reference in New Issue
Block a user