I am using "jasmine":"^2.5.2" and in node, I get error:
TypeError: jasmine.addMatchers is not a function
when using jasmine-node spec
from terminal running a simple example as below.
What could cause this issue and how to fix it?
function helloWorld() {
return "Hello world!";
}
describe('keyframes-tool', function () {
it("says hello", function() {
expect(helloWorld()).toEqual("Hello world!");
});
});