(...plugins)
| 39 | class KarmaPluginArrayWithoutWatchers extends Array { |
| 40 | // The Bazel Karma rules only register new plugins using `.push`. |
| 41 | push(...plugins) { |
| 42 | plugins.filter(p => typeof p === 'object').forEach(p => delete p.watcher); |
| 43 | |
| 44 | super.push(...plugins); |
| 45 | } |
| 46 | } |