Comments (6)
For Jasmine 2.x the new syntax for call fake is:
spyOn(param, 'param2').and.callFake();
from karma-jasmine.
karma-jasmine0.1.x uses Jasmine 1.3
karma-jasmine0.2.x uses Jasmine 2.0
Use 0.1.5 or update your tests to Jasmine 2.0, see http://jasmine.github.io/2.0/introduction.html
from karma-jasmine.
Cool thanks.
from karma-jasmine.
I just changed the tags on NPM, so if you just do npm install karma-jasmine
it will give you 0.1.5 (with Jasmine 1.3), do npm install karma-jasmine@2_0
for Jasmine 2.0)
from karma-jasmine.
yes this breakage appeared this morning although I haven't changed my dependencies. Now I don't have to unless it is updated. Thanks.
from karma-jasmine.
You should depend on ~0.1.0
than it wouldn't break.
On Sat, Feb 15, 2014 at 10:30 AM, Abed Halawi [email protected]:
yes this breakage appeared this morning although I haven't changed my
dependencies. Now I don't have to unless it is updated. Thanks.Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-35163592
.
from karma-jasmine.
Related Issues (20)
- Failing to load a module does not fail the test suite HOT 1
- Timeout when running Karma test in Angular 10 project with socket.io-client installed
- spec selection does not work anymore HOT 1
- DOMTestComponentRenderer.insertRootElement when mocking document.querySelectorAll HOT 1
- jasmine's failFast not working in 4.0.1
- Sends report before tests finish running HOT 1
- Unused packages detected in the karmajasmine project on Tag: v4.0.1 HOT 1
- Add CI/CD with GitHub Actions HOT 1
- specFilter causes timeout with large amount of tests HOT 1
- Jasmine 4 support? HOT 1
- Reestablish CI/CD with GitHub Actions HOT 1
- Duplicate error messages (reopen)
- Linting Should Run in Its Own Workflow
- Establish a Beta Release HOT 14
- Convert tools/integration-tests.sh to a cross-platform script HOT 3
- Update eslint-config-standard HOT 4
- Uncaught (in promise) Type Error: Cannot read properties of null (reading 'jasmineMessage') HOT 3
- Opening Context.html window raises an error for parentWindow.karma object "Cannot read property 'info' of undefined" HOT 1
- Support for Jasmine 5 HOT 2
- Add doc deprecation for karma-jasmine with recommendations
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karma-jasmine.