Skip to content

Commit

Permalink
Merge branch 'master' of github.com:thenativeweb/assertthat
Browse files Browse the repository at this point in the history
  • Loading branch information
goloroden committed Oct 9, 2017
2 parents fc6e656 + f5c64c2 commit 4bed864
Show file tree
Hide file tree
Showing 4 changed files with 249 additions and 119 deletions.
5 changes: 5 additions & 0 deletions dist/constraints/throwingAsync.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
'use strict';

/* eslint-disable no-unused-vars */

function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, arguments); return new Promise(function (resolve, reject) { function step(key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { return Promise.resolve(value).then(function (value) { step("next", value); }, function (err) { step("throw", err); }); } } return step("next"); }); }; }

var regeneratorRuntime = require('regenerator-runtime');
/* eslint-enable no-unused-vars */

var fail = require('../fail');

var throwing = function throwing(actual) {
Expand Down
4 changes: 4 additions & 0 deletions lib/constraints/throwingAsync.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
'use strict';

/* eslint-disable no-unused-vars */
const regeneratorRuntime = require('regenerator-runtime');
/* eslint-enable no-unused-vars */

const fail = require('../fail');

const throwing = function (actual) {
Expand Down
Loading

0 comments on commit 4bed864

Please sign in to comment.