test: Minimize file globs served by test runner (#4031)

This was originally supposed to help resolve "too many open file"
errors in the test runner, but we could not prove that this made any
difference.  Still, it doesn't seem to hurt.  Tests start up ~6%
faster (several seconds difference on my workstation).
This commit is contained in:
Joey Parrish
2022-03-16 15:06:49 -07:00
committed by GitHub
parent abe846e1a3
commit b275cb591d
+6 -5
View File
@@ -136,17 +136,18 @@ module.exports = (config) => {
{pattern: 'ui/**/*.js', included: false},
{pattern: 'ui/**/*.less', included: false},
{pattern: 'third_party/**/*.js', included: false},
{
pattern: 'node_modules/google-closure-library/closure/goog/**/*.js',
included: false,
},
{pattern: 'test/test/assets/*', included: false},
{pattern: 'test/test/assets/3675/*', included: false},
{pattern: 'dist/shaka-player.ui.js', included: false},
{pattern: 'dist/locales.js', included: false},
{pattern: 'demo/locales/en.json', included: false},
{pattern: 'demo/locales/source.json', included: false},
{pattern: 'node_modules/**/*.js', included: false},
{pattern: 'node_modules/sprintf-js/src/sprintf.js', included: false},
{pattern: 'node_modules/less/dist/less.js', included: false},
{
pattern: 'node_modules/fontfaceonload/dist/fontfaceonload.js',
included: false,
},
],
// NOTE: Do not use proxies at all! They cannot be used with the --hostname