Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Karma Online Test

Topics Covered

  • Working with configuration files in Karma
  • Installing frameworks using NPM in Karma
  • Excluding files from tests in Karma
  • Configuring log level in Karma
  • Defining proxies with Karma
  • Loading plugins in Karma

Useful for hiring

  • Angular JS Testing Expert - Karma
  • Karma QA Engineer
  • Software Tester - Karma

Start hiring job-fit candidates using this assessment

GET A DEMO

"Our recruitment team loves Interview Mocha especially for their skill assessments, simulators, and friendly support. Since using Interview Mocha, we interview only relevant candidates, and this has reduced our time to hire. Recruitment is no longer an hassle for us."

Christoph, e-Zest GmbH
Question

The frameworks of tests require an additional installation via NPM and to use Jasmine which command should be executed in order to install the framework?

Answer
    • npm --install-and-configure --keep-dev -f karma-jasmine

    • npm install --configure-dev framework:karma-jasmine

    • npm download --configure-dev karma-jasmine

    • npm install --save-dev karma-jasmine

Question

Sometimes it may be necessary to exclude some files from our tests.
Which of the following alternatives allows you to perform this configuration?

Answer
    • Exclude.List: {
           'views/myTest.html',
           'test.html'
      }

    • Exclusion.Files: [
           {'views/myTest.html'},
           {'test.html'}
      ]

    • Exclude: [
           'views/myTest.html',
           'test.html'
      ]

    • Exclude(): files >> [
           {'views/myTest.html',
           'test.html'}
      ]

Question

Which of the following alternatives correctly sets the log level of error type in the Karma configuration file?

Answer
    • logLevel: config.LOG_ERROR

    • log.level: log[ERROR]

    • log: level=LOG_ERROR

    • logLevel: configuration(ERROR)

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO