Skip to content
This repository

Nov 27, 2012

  1. Releasing 1.3

    - Allow users to set the pretty-printer's recursion depth
    - When pretty-printing objects, don't include inherited properties.
    - Change toBeCloseTo matcher to be more consistent
    - Added toBeNaN matcher
    - Add checkbox to test runner which toggles catching of exceptions duri
    - Add config option which stops jasmine from capturing exceptions in a
    Davis W. Frank & Rajan Agaskar authored

Oct 29, 2012

  1. Rajan Agaskar

    Merge pull request #290 from maxbrunsfeld/smaller-pretty-print2

    smaller, more configurable pretty-printing of objects
    ragaskar authored

Oct 28, 2012

  1. Max Brunsfeld

    Allow users to set the pretty-printer's recursion depth

    Currently, jasmine's pretty printer traverses objects
    to 40 levels of nesting. If an object is more deeply
    nested than that, an exception is thrown. I find that
    after a few levels of nesting, the output becomes
    difficult to read. The process of serializing such
    deep objects also sometimes crashes the browser or
    causes a 'slow script' warning.
    
    This commit exposes a 'MAX_PRETTY_PRINT_DEPTH' option.
    It also causes the pretty printer to skip over
    parts of an object that are nested to deeply by simply
    printing out 'Object' or 'Array', rather than throwing
    an exception.
    maxbrunsfeld authored
  2. Max Brunsfeld

    When pretty-printing objects, don't include inherited properties.

    When making assertions about complex objects, Jasmine's
    failure message are sometimes gigantic and difficult
    to read because the string representation of an object
    contains all of the methods and properties in its
    prototype chain. This commit causes the pretty printer
    to only display on object's own properties.
    maxbrunsfeld authored

Oct 27, 2012

  1. Rajan Agaskar

    Merge pull request #234 from yopefonic/master

    comparison for regExp that compares pattern and modifiers
    ragaskar authored
  2. Joost Elfering

    adding a check for the sticky regExp option supported by Firefox and …

    …accepted by the ES6. Note that the tests for this case are checking for the support of the sticky parameter. the logic is still tested by the other expect statements in browsers that do not support sticky but will never enter that block as creating a regExp with that flag is not allowed. Coverage is still good. See pivotal/jasmine#234
    yopefonic authored
  3. Joost Elfering

    added some specs to strengthen the coverage pivotal/jasmine#234

    yopefonic authored
  4. Joost Elfering

    resolving issue that was identified via pivotal/jasmine#199 where Reg…

    …Exp objects were not properly compared resulting in non-matching RegExp objects to always return true. a patch to jasmine.Env.equals_ adds an extra step for RexExp objects to be compared.
    yopefonic authored

Oct 06, 2012

  1. Rajan Agaskar

    Merge pull request #193 from slackersoft/spy_called_with_messages

    less confusing messages for toHaveBeenCalledWith
    ragaskar authored
  2. Rajan Agaskar

    Merge pull request #225 from gunnarahlberg/master

    spec that to spy on an undefined method throws exception
    ragaskar authored
  3. Rajan Agaskar

    Merge pull request #254 from jcracknell/nan-matcher

    Added toBeNaN matcher
    ragaskar authored
  4. Rajan Agaskar

    Merge pull request #280 from ronaldploeger/master

    JSDoc @return-tag to 'spyOn' and 'expect' functions
    ragaskar authored

Sep 14, 2012

  1. Add JSDoc @return-tag to 'spyOn' and 'expect' functions support

    code completion in Spket IDE
    PLOE09 authored

Sep 03, 2012

  1. Merge pull request #242 from ChrisTM/master

    Fix swapped template values in build_standalone_runner.rb.
    Davis W. Frank authored
  2. Merge pull request #269 from kconnor/master

    create downloads dir if needed during build_standalone_distribution
    Davis W. Frank authored
  3. Merge pull request #251 from doochik/patch-1

    update jsdoc for jasmine.Matchers.prototype.toThrow
    Davis W. Frank authored
  4. Merge pull request #257 from kevinoid/no-window-or-exports

    Don't assume exports is defined when window is undefined
    Davis W. Frank authored

Sep 01, 2012

  1. Rajan Agaskar

    Merge pull request #260 from rgould/master

    Guarantee that afterEach and after blocks are always run
    ragaskar authored

Aug 15, 2012

  1. Rajan Agaskar

    Merge pull request #270 from Wolfy87/patch-1

    Wrapped the reserved word, "for", in quotes.
    ragaskar authored
  2. Oliver Caldwell

    Wrapped the reserved word, "for", in quotes.

    This stops it throwing errors in IE and other browsers. I think the newer Firefox and Chrome versions are the only browsers to not die when running it.
    Wolfy87 authored
  3. create downloads dir if needed during build_standalone_distribution

    Kevin Connor authored

Aug 12, 2012

  1. Merge pull request #264 from dburt/master

    Change toBeCloseTo matcher to be more consistent
    Davis W. Frank authored

Aug 11, 2012

  1. Move to an earlier RedCarpet to fix an incompatibility with Rocco. Re…

    …gen of gh-pages.
    Davis W. Frank authored

Jul 31, 2012

  1. Dave Burt

    Change toBeCloseTo matcher to be more consistent.

    It now calculates and compares a difference, rather than rounding
    two separate quantities and testing for their equality.
    dburt authored

Jul 24, 2012

  1. Richard Gould

    Regenerate jasmine.js after adding ensured support.

    rgould authored
  2. Richard Gould

    Add 'ensured' blocks to the queue.

    This blocks will be run even when a preceeding block sets the abort
    flag. This is so that we can support afterEach calls running when the
    spec fails due to a timeout.
    rgould authored
  3. Richard Gould

    Merge remote-tracking branch 'bigfix/after_waitsFor'

    * bigfix/after_waitsFor:
      Test that show that afterEach and after are not being called when a waitsFor times out.
      Test that afterEach is called after a failing spec.
      Consolidate all waitsFor specs in the same describe block.
    rgould authored

Jul 19, 2012

  1. Kevin Locke

    Don't assume exports is defined when window is undefined

    The current code makes the assumption that if window is undefined it is
    being run in an environment which supports the CommonJS Modules spec.
    This is not the case when Jasmine is being run in rhino or SpiderMonkey
    (smjs) without EnvJS.
    
    The fix is simply to check that exports is an object.
    
    Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
    kevinoid authored

Jul 13, 2012

  1. James Cracknell

    Added toBeNaN matcher

    jcracknell authored

Jul 10, 2012

  1. Aleksei Androsov

    update jsdoc for jasmine.Matchers.prototype.toThrow

    expected argument is optional
    doochik authored

Jun 28, 2012

  1. Rajan Agaskar

    Merge pull request #221 from rupurt/no_try_catch_multi_commit

    No try catch multi commit
    ragaskar authored

Jun 24, 2012

  1. Alex Kwiatkowski

    Add checkbox to test runner which toggles catching of exceptions duri…

    …ng tests
    rupurt authored
  2. Alex Kwiatkowski

    Add config option which stops jasmine from capturing exceptions in a …

    …test
    rupurt authored

Jun 17, 2012

  1. Christopher Mitchell

    Fix swapped template values in build_standalone_runner.rb.

    `example_source_tags` and `example_spec_tags` each returned what the other
    should have returned. I noticed this bug because it made the comments in
    SpecRunner.html about where to include spec and source files incongruous with
    the example tags that followed.
    ChrisTM authored

May 27, 2012

  1. Removed Frank for GHPages generation. Now using Rocco and a Thor task…

    … to build it
    Davis W. Frank authored
Something went wrong with that request. Please try again.