mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
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:
+6
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user