Skip to content

Adapt jasmine tests for jasmine-core@3 #3368

Closed
@etpinard

Description

@etpinard
npm i [email protected] [email protected]
npm run test-jasmine -- --nowatch

make numerous tests fail, spits out deprecation warnings:

image

and doesn't get along with our negateIf custom matcher

jasmine.Expectation.prototype.negateIf = function(negate) {
if(negate) return this.not;
return this;
};

image


More info about jasmine@3:

https://github.com/jasmine/jasmine/blob/master/release_notes/3.0.md

More info about karma-jasmine@2:

https://github.com/karma-runner/karma-jasmine/blob/master/CHANGELOG.md#200-2018-11-15

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions