When I do this:
console.log('jasmine-version:' + jasmine.getEnv().versionString());
it prints: jasmine version: 1.3.1 version 1354556913
When I run the "jpmine list" npm list, it prints:
server@0.0.1 /Users/xx/Desktop/workingDirectory
└── jasmine-core@2.1.3
Why is 2.1.3 displayed and another 1.3.1 displayed?
I do not have 2.1.3 functions, so it works on 1.3.1. How to fix it?
source
share