Closed
Description
On the Plugins page of the documentation, the following example is presented:
plugins: [
// Karma will require() these plugins
'karma-jasmine',
'karma-chrome-launcher'
// inlined plugins
{'framework:xyz', ['factory', factoryFn]},
require('./plugin-required-from-config')
]
Although I haven't needed to write my own inline plugins yet, I doubt the example provided is correct, since it's not even valid JavaScript syntax. Should it be { 'framework:xyz' : [ 'factory', factoryFn ] }
instead? A little explanation on that point would be appreciated.
Activity