Permalink
Commits on Nov 19, 2012
  1. Forgot to reset colors on line end.

    Chakrit Wichian committed Nov 19, 2012
  2. Switch to console.error and only displays the error message.

    Since e.stack probably wouldn't make sense if we're just looking at
    syntax errors.
    Chakrit Wichian committed Nov 19, 2012
Commits on Nov 17, 2012
  1. Try/catch guard on require()-ing test files.

    Syntax errors in test files will cause mocha to crash since it is using
    simple require() to load the test files.
    
    So I've added a try/catch guard against the require() call.
    
    Since error handling (and console colors configuration) is embedded in
    `lib/runnable.js` and `lib/runner.js` which isn't available when we are
    just loading the tests, I have made it prints out the error message and
    error stack to `process.stderr` for the time being.
    
    This also breaks out of the file `--watch` loop which makes it very
    annoying when you just misplaced one simple character and have to switch
    to your other tdd window to restart the tests.
    Chakrit Wichian committed Nov 17, 2012
Commits on Nov 12, 2012
  1. links

    tj committed Nov 12, 2012
Commits on Nov 10, 2012
  1. remove trailing unicode chars in Base output

    getting kinda corny
    tj committed Nov 10, 2012
  2. add better checkmark

    tj committed Nov 10, 2012
  3. remove component.json for now

    it does not work properly,
    we need to fix up mocha to utilize components
    for a lot of the internals first
    tj committed Nov 10, 2012
Commits on Nov 8, 2012
  1. refactor

    tj committed Nov 8, 2012
  2. Merge pull request #650 from jfirebaugh/instanceof

    Remove instanceof occurrence
    tj committed Nov 8, 2012
  3. Remove instanceof occurrence

    instanceof is not reliable in a cross-iframe environment, whereas
    Object.prototype.toString comparison is.
    
    See jfirebaugh/konacha#74
    
    Fixes #646.
    jfirebaugh committed Nov 8, 2012
Commits on Nov 7, 2012
  1. Release 1.7.0

    tj committed Nov 7, 2012
  2. fix unicode chars on windows

    jsalonen committed with tj Nov 7, 2012
Commits on Nov 6, 2012
  1. Merge pull request #644 from simong/sortedCoverage

    Sorted the results in the json coverage reporter on their filename.
    tj committed Nov 6, 2012
Commits on Nov 5, 2012
Commits on Nov 3, 2012
  1. build

    tj committed Nov 3, 2012
  2. build

    tj committed Nov 3, 2012
Commits on Nov 2, 2012
  1. style

    tj committed Nov 2, 2012
  2. Merge pull request #636 from Krinkle/fix-undef-error

    HTMLReporter: Fix "Property 'appendChild' of undefined".
    tj committed Nov 2, 2012
  3. Merge pull request #635 from Krinkle/issue-243-global

    Issue #243 - Fix DOM globals in Opera/IE
    tj committed Nov 2, 2012
  4. HTMLReporter: Fix "Property 'appendChild' of undefined".

    IE9 sometimes throws the following error on the large.js test:
    
    > (mocha.js:2072) Unable to get value of the property 'appendChild': object is null or undefined.
    
    Which is caused by the stack.shift() call earlier.
    
    Also fixed mis-indented code earlier where it appeared the 'el'
    variable was defined in a deeper scope wasn't really.
    Krinkle committed Nov 2, 2012
Commits on Nov 1, 2012
  1. link to konacha

    tj committed Nov 1, 2012
Commits on Oct 31, 2012
  1. refactor

    tj committed Oct 31, 2012
  2. simplify asyncOnly logic

    aheckmann committed with tj Oct 31, 2012
  3. add --async-only support

    closes #621
    aheckmann committed with tj Oct 30, 2012
Commits on Oct 29, 2012
  1. Merge pull request #631 from iammerrick/master

    Added Doctype To Template
    tj committed Oct 29, 2012
  2. refactor

    tj committed Oct 29, 2012
  3. Merge pull request #630 from telaviv/whitelist-common-globals

    Whitelist common globals
    tj committed Oct 29, 2012
  4. Merge pull request #626 from nathanalderson/html-progress-with-grep

    Progress indicator now reflects grep selection.
    tj committed Oct 29, 2012
  5. Merge pull request #625 from nathanalderson/url-grep-invert

    Allow user to invert the grep pattern via the URL.
    tj committed Oct 29, 2012