Skip to content

Commit

Permalink
Auto merge of #6302 - ember-cli:greenkeeper-chai-as-promised-6.0.0, r…
Browse files Browse the repository at this point in the history
…=nathanhammond

Update chai-as-promised to version 6.0.0 🚀

Hello lovely humans,

[chai-as-promised](https://www.npmjs.com/package/chai-as-promised) just published its new version 6.0.0.

<table>
  <tr>
    <th align=left>
      State
    </th>
    <td>
      Update 🚀
    </td>
  </tr>
  <tr>
    <th align=left>
      Dependency
    </td>
    <td>
      chai-as-promised
    </td>
  </tr>
  <tr>
    <th align=left>
      New version
    </td>
    <td>
      6.0.0
    </td>
  </tr>
  <tr>
    <th align=left>
      Type
    </td>
    <td>
      devDependency
    </td>
  </tr>
</table>

This version is **not covered** by your **current version range**.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of chai-as-promised.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.

Do you have any ideas how I could improve these pull requests? Did I report anything you think isn’t right?
Are you unsure about how things are supposed to work?

There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and while I’m just a bot, there is a group of people who are happy to teach me new things. [Let them know](https://github.com/greenkeeperio/greenkeeper/issues/new).

Good luck with your project ✨

You rock!

🌴

---
[GitHub Release](https://github.com/domenic/chai-as-promised/releases/tag/v6.0.0)

<p>In <a href="https://urls.greenkeeper.io/domenic/chai-as-promised/pull/167" class="issue-link js-issue-link" data-url="chaijs/chai-as-promised#167" data-id="177667891" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#167</a>, <a href="https://urls.greenkeeper.io/lddubeau" class="user-mention">@lddubeau</a> made many improvements to edge cases that have plagued users:</p>

<ul>
<li>Overhauls <code>rejectedWith</code> to behave more like Chai's <code>throws</code> asserter.</li>
<li>Updates <code>.fulfilled</code>, <code>.rejected</code>, and <code>.rejectedWith</code> to change the asserter target to the fulfillment value or rejection reason, so that further assertions with <code>.and</code> act on them.</li>
<li>Updates <code>.fulfilled</code>, when successful, to return a promise that fulfills with the fulfillment value</li>
<li>Updates <code>.rejected</code> and <code>.rejectedWith</code>, when successful, to return a promise that fulfills with the rejection reason</li>
</ul>

<p>Also, Chai as Promised now only supplies a CommonJS-style module. To get AMD or <code>&lt;script&gt;</code>-compatibility, use a bundler tool like <a href="http://browserify.org/">browserify</a>.</p>

---
The new version differs by 28 commits .

- [`b2cfbdc`](chaijs/chai-as-promised@b2cfbdc) <code>6.0.0</code>
- [`479f867`](chaijs/chai-as-promised@479f867) <code>Update copyright year</code>
- [`bb51e07`](chaijs/chai-as-promised@bb51e07) <code>Switch to pure CommonJS</code>
- [`fc9f868`](chaijs/chai-as-promised@fc9f868) <code>Load check-error in the browser too</code>
- [`33ce9df`](chaijs/chai-as-promised@33ce9df) <code>Bring promise rejection tests in line with Chai.</code>
- [`10beb9e`](chaijs/chai-as-promised@10beb9e) <code>Harmonize error messages with those of Chai</code>
- [`a8b88d0`](chaijs/chai-as-promised@a8b88d0) <code>Fix the .not.rejectedWith tests</code>
- [`1f7fc93`](chaijs/chai-as-promised@1f7fc93) <code>Use check-error to get expected constructor name</code>
- [`e425136`](chaijs/chai-as-promised@e425136) <code>Redesign UMD code to allow imports</code>
- [`823c15b`](chaijs/chai-as-promised@823c15b) <code>Allow chaining tests and promises.</code>
- [`52beb1f`](chaijs/chai-as-promised@52beb1f) <code>Add a notMessage option</code>
- [`40fe94e`](chaijs/chai-as-promised@40fe94e) <code>Restructure to avoid so much nesting</code>
- [`62e137f`](chaijs/chai-as-promised@62e137f) <code>Add test cases that reproduce issue #113</code>
- [`7662aca`](chaijs/chai-as-promised@7662aca) <code>Add a case that replicates issue #64</code>
- [`deb505c`](chaijs/chai-as-promised@deb505c) <code>Add test cases to cover issue #47</code>

There are 28 commits in total. See the [full diff](chaijs/chai-as-promised@5f20e6c...b2cfbdc).

---
This pull request was created by [greenkeeper.io](https://greenkeeper.io/).

<sub>Tired of seeing this sponsor message? ⚡ `greenkeeper upgrade`</sub>
  • Loading branch information
homu committed Sep 28, 2016
2 parents c2a01da + 8ce3616 commit 6f0c9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"broccoli-filter": "^1.2.2",
"broccoli-plugin": "^1.2.0",
"chai": "^3.4.1",
"chai-as-promised": "^5.1.0",
"chai-as-promised": "^6.0.0",
"chai-files": "^1.2.0",
"ember-cli-blueprint-test-helpers": "^0.13.0",
"ember-cli-internal-test-helpers": "^0.8.1",
Expand Down

0 comments on commit 6f0c9ae

Please sign in to comment.