Skip to content

Commit

Permalink
Update deps (#1444)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored Aug 2, 2018
1 parent 055e689 commit de34ff8
Show file tree
Hide file tree
Showing 4 changed files with 446 additions and 604 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(<VERSION>\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(<VERSION>\\)?)\\)?:? #[0-9]+

[version]
^0.76.0
^0.77.0
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,34 +48,34 @@
"iterall": "^1.2.2"
},
"devDependencies": {
"@babel/cli": "7.0.0-beta.53",
"@babel/core": "7.0.0-beta.53",
"@babel/node": "7.0.0-beta.53",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.53",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.53",
"@babel/plugin-syntax-async-generators": "7.0.0-beta.53",
"@babel/plugin-transform-classes": "7.0.0-beta.53",
"@babel/plugin-transform-destructuring": "7.0.0-beta.53",
"@babel/plugin-transform-flow-strip-types": "7.0.0-beta.53",
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.53",
"@babel/plugin-transform-spread": "7.0.0-beta.53",
"@babel/polyfill": "7.0.0-beta.53",
"@babel/preset-env": "7.0.0-beta.53",
"@babel/register": "7.0.0-beta.53",
"@babel/cli": "7.0.0-beta.55",
"@babel/core": "7.0.0-beta.55",
"@babel/node": "7.0.0-beta.55",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.55",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.55",
"@babel/plugin-syntax-async-generators": "7.0.0-beta.55",
"@babel/plugin-transform-classes": "7.0.0-beta.55",
"@babel/plugin-transform-destructuring": "7.0.0-beta.55",
"@babel/plugin-transform-flow-strip-types": "7.0.0-beta.55",
"@babel/plugin-transform-modules-commonjs": "7.0.0-beta.55",
"@babel/plugin-transform-spread": "7.0.0-beta.55",
"@babel/polyfill": "7.0.0-beta.55",
"@babel/preset-env": "7.0.0-beta.55",
"@babel/register": "7.0.0-beta.55",
"babel-eslint": "8.2.6",
"babel-plugin-syntax-async-functions": "6.13.0",
"beautify-benchmark": "0.2.4",
"benchmark": "2.1.4",
"chai": "4.1.2",
"coveralls": "3.0.2",
"eslint": "5.1.0",
"eslint": "5.2.0",
"eslint-plugin-babel": "5.1.0",
"eslint-plugin-flowtype": "2.50.0",
"eslint-plugin-prettier": "2.6.2",
"flow-bin": "0.76.0",
"flow-bin": "0.77.0",
"mocha": "5.2.0",
"nyc": "12.0.2",
"prettier": "1.13.7",
"sane": "2.5.2"
"prettier": "1.14.0",
"sane": "3.0.0"
}
}
11 changes: 7 additions & 4 deletions src/subscription/__tests__/subscribe-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -882,10 +882,13 @@ describe('Subscription Publish Phase', () => {
});

it('should pass through error thrown in source event stream', async () => {
const erroringEmailSchema = emailSchemaWithResolvers(async function*() {
yield { email: { subject: 'Hello' } };
throw new Error('test error');
}, email => email);
const erroringEmailSchema = emailSchemaWithResolvers(
async function*() {
yield { email: { subject: 'Hello' } };
throw new Error('test error');
},
email => email,
);

const subscription = await subscribe(
erroringEmailSchema,
Expand Down
Loading

0 comments on commit de34ff8

Please sign in to comment.