Skip to content

Commit 2222c64

Browse files
mpeyperjamiebuilds
authored andcommitted
Don't leave unhandled promise rejections
1 parent 87b2451 commit 2222c64

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"babel-preset-react": "^6.24.1",
3333
"express": "^4.16.1",
3434
"flow-bin": "^0.41.0",
35-
"jest": "^19.0.2",
35+
"jest": "^21.2.1",
3636
"react": "^16.0.0",
3737
"react-dom": "^16.0.0",
3838
"react-test-renderer": "^16.0.0",

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ function createLoadableComponent(loadFn, options) {
196196
update();
197197
}).catch(err => {
198198
update();
199-
throw err;
200199
});
201200
}
202201

0 commit comments

Comments
 (0)