You cannot post messages because only members can post, and you are not currently a member.
|
Spies and carrying over Function Properties
|
| |
Hey there, I have an interesting issue I discovered recently using a technique that I don't see used too often. Essentially, because functions in JS are also first class objects, they can given properties. I wrote a component which uses this to hold its default options, and was surprised when it broke during a test. I could have made... more »
|
|
How does nested waits(For) and runs work?
|
| |
Hi! I'm currently trying to set up testing for our web-app, and I'm wondering how to use waits(For) to get the flow I expect. Pretty simple question, will this work as I want it to: it("shall work", function () { var something = somethingElse; waitsFor(function () { //something to happen... more »
|
|
Mocking the current datetime
|
| |
In my project I have a controller that makes a query out to the server as soon as it loads. It has to get all of the transactions for a customer from the beginning of the month at midnight until the current date/time, and both the starting date/time and the ending date/time are passed in the querystring. In the project this works without a hitch, but when I try to... more »
|
|
need more information about Spies
|
| |
hello , I am a new comer for jasmine , developer . I am read [link] . I am not clear about "spies" topics . please any one explain detail things with examples . like 1. usage of spies 2. when to use thanks & regards Ramesh kumar
|
|
Handlebars / Ember.js assets with Jasmine
|
| |
Hi, I am attempting to set up jasmine to test an ember application but I keep getting the following error on running jasmine: [jasmine-headless-webkit] couldn't find file 'handlebars' (in /Users/jon/Desktop/coursify/li b/assets/javascripts/lib.js:1) (Sprockets::FileNotFound) The ember-rails gem is in my gemfile which in turn has the ember-source and... more »
|
|
Testing external *.js files
|
| |
For example please see this file: [link] At the beginning of the page i have: ... /// <reference path="../Js/timescale.js" /> ... This solution I found on the internet, and it work fine for me, but I need... more »
|
|
Run multiple tests/suits
|
| |
The HTML spec filter currently does not seem to support running more than one spec given in the URL params. Like ?spec="first spec"&spec="second spec", it will always only run the second spec currently.
|
|
|