Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

preprocessors is not worked from karma.conf.js #16

Open
zxxc opened this issue Jan 27, 2017 · 0 comments
Open

preprocessors is not worked from karma.conf.js #16

zxxc opened this issue Jan 27, 2017 · 0 comments

Comments

@zxxc
Copy link

zxxc commented Jan 27, 2017

i have karma.conf.js with:
preprocessors: {
'**/*.html': ['ng-html2js']
},

https://github.com/karma-runner/karma-ng-html2js-preprocessor

it used to combine angular1 html templates into one js file and put into angular template cache
we activly using this preprocessor for our unit tests (also we have another 1 our custom preprocessor)

Seems stryker skipped karma preprocessors, and i create small workaround to create separate file with angular templates before runnig stryker

It will be much simplier to support karma preprocessors from karma.conf.js or from overrided config in stryker.conf.js

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant