Speed up Karma runner by narrowing down files Karma serves (#9231)

This commit is contained in:
Volodymyr Agafonkin
2024-01-29 11:55:02 +02:00
committed by GitHub
parent 3443bd9c86
commit ea27b0f6cc

View File

@ -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'},