Skip to content

Commit e3f5501

Browse files
committed
coverage fixes
1 parent 12fa0e6 commit e3f5501

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/custom.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ function resolveMiddlewareWrapper(resolve = defaultResolveFn, directives = {}) {
9999
);
100100
defer.catch(e =>
101101
resolveWithDirective(
102+
/* istanbul ignore next */
102103
() => Promise.reject(e),
103104
source,
104105
directive,

src/directiveLocation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ let DirectiveLocation;
55
try {
66
DirectiveLocation = require('graphql/language/directiveLocation')
77
} catch (e) {
8+
/* istanbul ignore next */
89
DirectiveLocation = require('graphql/type/directives')
910
}
1011

0 commit comments

Comments
 (0)