Skip to content

Commit 21eabd1

Browse files
committed
Add coverage comments
1 parent 5e99d31 commit 21eabd1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/backend.js

+9
Original file line numberDiff line numberDiff line change
@@ -119,20 +119,24 @@ function Backend({
119119
: backend.query.result.push(row)
120120
}
121121

122+
/* c8 ignore next */
122123
function CopyData() { /* No handling needed until implemented */ }
123124

124125
function ErrorResponse(x) {
125126
reject(errors.generic(error(x)))
126127
}
127128

129+
/* c8 ignore next */
128130
function CopyInResponse() {
129131
reject(errors.notSupported('CopyInResponse'))
130132
}
131133

134+
/* c8 ignore next */
132135
function CopyOutResponse() {
133136
reject(errors.notSupported('CopyOutResponse'))
134137
}
135138

139+
/* c8 ignore next */
136140
function EmptyQueryResponse() { /* No handling needed */ }
137141

138142
function BackendKeyData(x) {
@@ -162,10 +166,12 @@ function Backend({
162166
onparameter(k, v)
163167
}
164168

169+
/* c8 ignore next */
165170
function PortalSuspended() {
166171
reject(errors.notSupported('PortalSuspended'))
167172
}
168173

174+
/* c8 ignore next */
169175
function ParameterDescription() {
170176
reject(errors.notSupported('ParameterDescription'))
171177
}
@@ -193,14 +199,17 @@ function Backend({
193199
}
194200
}
195201

202+
/* c8 ignore next */
196203
function FunctionCallResponse() {
197204
reject(errors.notSupported('FunctionCallResponse'))
198205
}
199206

207+
/* c8 ignore next */
200208
function NegotiateProtocolVersion() {
201209
reject(errors.notSupported('NegotiateProtocolVersion'))
202210
}
203211

212+
/* c8 ignore next */
204213
function CopyBothResponse() {
205214
reject(errors.notSupported('CopyBothResponse'))
206215
}

0 commit comments

Comments
 (0)