0

I have a service named "dataService" which is used to get json data from url.This dataService returns some jsonData.Now after running "grunt test" I am getting error like "urlRoot normalized to '/karma/' and client args should be array of strings".Can anyone help me to solve this.

1

1 Answer 1

0

Use the following process:

  • Define the URL in your package.json
  • Require grunt in karma.conf.js
  • Reference the URL via grunt.readJSON
  • Use array.concat to construct the files array
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.