I am trying to run my angular 5 project unit test cases using karma phantom js. My Karma config file looks like,
module.exports = function(config) {
config.set({
frameworks: ["jasmine", "karma-typescript"],
files: [
{ pattern: "src/**/*.ts" }
],
karmaTypescriptConfig: {
compilerOptions: {
module: "commonjs"
},
tsconfig: "./tsconfig.json",
},
preprocessors: {
"**/*.ts": ["karma-typescript"]
},
reporters: ["progress", "kjhtml", "spec", "karma-typescript"],
browsers: ["PhantomJS"]
});
};
I am facing below issue when I try to run karma unit test cases.Any help would be appreciated.
Aucun commentaire:
Enregistrer un commentaire