Skip to main content

Posts

Showing posts with the label Why Use Jasmine In Angular?

What Is Jasmine? Why Use Jasmine In Angular?

The Jasmine is a test framework provides for JavaScript to write tests and the aim of Jasmine to run on any JavaScript enabled platform like AngularJs, Angular, and Node.js and so on. It is easy to read and write the tests and this test runner executes tests in the browsers. The Jasmine previously developed a similar unit testing framework called JsUnit . ü   Stayed Informed - What Is Karma? Why Use Karma In Angular? The package.json contents should now have the following -   "devDependencies" : {     "@angular/cli" : "1.5.0" ,     "@angular/compiler-cli" : "^5.0.0" ,     "@angular/language-service" : "^5.0.0" ,     "@types/jasmine" : "~2.5.53" ,     "@types/jasminewd2" : "~2.0.2" ,     "@types/node" : "~6.0.60" ,     "codelyzer" : "~3.2.0" ,     "jasmine-core" : "~2.6.2" ,     ...