MCPcopy Create free account
hub / github.com/IBM/couchbackup / assertErrorMessage

Function assertErrorMessage

test/app.js:68–70  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

66
67// Return a validation object for use with assert.rejects
68function assertErrorMessage(msg) {
69 return { name: 'InvalidOption', message: msg };
70}
71
72// For cases where validation should pass we reach a real backup that hits a 404
73// mock for a DatabaseNotFound, so that it is the expected in the case assertNoValidationError

Callers 1

app.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…