Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Suite/Test): untitled suite/test-case #1632 #1809

Closed
wants to merge 13 commits into from

Commits on Oct 19, 2014

  1. Update glob to 4.0.6

    RobLoach committed Oct 19, 2014
    Configuration menu
    Copy the full SHA
    3fff52e View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2014

  1. Require npm version which supports ^ specifier

    https://travis-ci.org/mochajs/mocha/jobs/38422941
    
    The only problem in this error is that npm v1.2 doesn’t support `^`
    version specifier. It's not the problem of Node v0.8 itself.
    
    So I updated the installation command to install the latest version of
    npm, before installing the dependencies of mocha.
    shinnn committed Oct 29, 2014
    Configuration menu
    Copy the full SHA
    1a0cc82 View commit details
    Browse the repository at this point in the history
  2. Fail when test resolution method is overspecified

    Users may register `Runnable`s as asynchronous in one of two ways:
    
    - Via callback (by defining the body function to have an arity of one)
    - Via promise (by returning a Promise object from the body function)
    
    When both a callback function is specified *and* a Promise object is
    returned, the `Runnable`'s resolution condition is ambiguous.
    Practically speaking, users are most likely to make this mistake as they
    transition between asynchronous styles.
    
    Currently, Mocha silently prefers the callback amd ignores the Promise
    object. Update the implementation of the `Runnable` class to fail
    immediately when the test resolution method is over-specified in this
    way.
    jugglinmike authored and Christopher Hiller committed Oct 29, 2014
    Configuration menu
    Copy the full SHA
    ac4b2e8 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'travis' of https://github.com/shinnn/mocha into v3.0.0

    # By Shinnosuke Watanabe
    # Via Shinnosuke Watanabe
    * 'travis' of https://github.com/shinnn/mocha:
      Require npm version which supports `^` specifier
    Christopher Hiller committed Oct 29, 2014
    Configuration menu
    Copy the full SHA
    ad3057d View commit details
    Browse the repository at this point in the history
  4. Merge branch 'update/glob' of https://github.com/RobLoach/mocha into …

    …v3.0.0
    
    # By Rob Loach
    # Via Rob Loach
    * 'update/glob' of https://github.com/RobLoach/mocha:
      Update glob to 4.0.6
    Christopher Hiller committed Oct 29, 2014
    Configuration menu
    Copy the full SHA
    17cec5b View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2015

  1. Allow --async-only to be satisfied by returning a promise

    This results in a slight change to the behavior of --async-only:
    instead of failing immediately, check to see if the test returned
    a promise (or otherwise failed) before complaining about not
    having a done callback.
    jlai committed Jan 7, 2015
    Configuration menu
    Copy the full SHA
    7657cb1 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2015

  1. Merge commit '7657cb11d960cf2cd8407b256019b2e34dc93328' into v2.3.0

    * commit '7657cb11d960cf2cd8407b256019b2e34dc93328':
      Allow --async-only to be satisfied by returning a promise
    Christopher Hiller committed Mar 31, 2015
    Configuration menu
    Copy the full SHA
    7be4891 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2015

  1. Configuration menu
    Copy the full SHA
    ace073d View commit details
    Browse the repository at this point in the history
  2. Merge pull request mochajs#1652 from callumacrae/timeout-exception

    Throw an exception when timeout too large.
    dasilvacontin committed Apr 13, 2015
    Configuration menu
    Copy the full SHA
    450ecbf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc3f3f9 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2015

  1. Merge commit '3b02d830c0c5f20c5be9acaa9ef45b824bcbf965' into v3.0.0

    * commit '3b02d830c0c5f20c5be9acaa9ef45b824bcbf965': (29 commits)
      Add cross-frame compatible Error checking for fail
      Remove moot `version` property from bower.json
      HISTORY: fix typo in 2.2.5
      HISTORY: improve 2.2.5 changelog
      removing duplicate flags adding additional iojs flags
      Prevent default browser behavior for failure/pass links
      Removes return statement irt mochajs#1700.
      Removes accidentally commited test.js
      Add support of --harmony_arrow_functions V8 option
      Release 2.2.5
      Upgrade jsdiff to v1.4.0
      fix 'location is not defined' error
      Update json-stream.js
      Sanity check: update fixtures/regression/issue-1327.js to be closer to orig test
      Fix diff colors
      use a valid SPDX license identifier
      Add integration tests
      Handling of error.htmlMessage in the HTML reporter
      Split message and stack into two separate variables
      fix(utils/stringify): fix issue mochajs#1660
      ...
    
    Conflicts:
    	test/acceptance/misc/asyncOnly.js
    boneskull committed Jun 30, 2015
    Configuration menu
    Copy the full SHA
    5c6d16f View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2015

  1. Merge branch 'master' into v3.0.0

    * master: (27 commits)
      Remove TODO from Browserify transition
      Build using Browserify
      Rework hook error tests to actually assert
      Move hook error test to integration in prep for rewrite
      Fix 1766: stackfilter should not ignore node_modules
      Remove __proto__ parsing from browser build scripts
      Replace __proto__ with lodash.create
      Removes heading newline.
      support escaped spaces in cli options
      Fixes indentation.
      Simplifies split regex, the filter already catches empty args.
      Removes unneeded trim, the filter does the same.
      Simplifies filter by truthy values.
      add lint check to test-all target.  YES!
      remove dupe in contributors list
      lock down supports-color dependency
      lint runner.js
      Escape test/suite title for re in html reporter
      Remove npm version from engines field
      CI: Update npm when < 1.3.7
      ...
    
    Conflicts:
    	.travis.yml
    	lib/runnable.js
    boneskull committed Jul 12, 2015
    Configuration menu
    Copy the full SHA
    0b9876b View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2015

  1. fix(Suite/Test): untitled suite/test-case mochajs#1632

    Throw a user-friendly error when the suite title or the test-case title
    isn't provided.
    a8m committed Nov 12, 2015
    Configuration menu
    Copy the full SHA
    addb6a0 View commit details
    Browse the repository at this point in the history