karma-runner / karma-dojo

A Karma plugin. Adapter for Dojo Toolkit.
MIT License
7 stars 10 forks source link

Add configuration sample to allow use of dojo html templates #3

Open dgautier opened 10 years ago

dgautier commented 10 years ago

It could be useful to have some information about configuring karma to allow html files to be served.

After a few searches, i found out that : {pattern: '**/*.html', watched: true, included: false, served: true} and preprocessors: { "**/*.html": [] },

Make it works, (not sure about that cause i also had to copy dojo has a local lib)

Thanks to https://github.com/karma-runner/karma/issues/756