MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / buildParserAndExpect

Function buildParserAndExpect

test/unit/parser-tests.js:1289–1293  ·  view source on GitHub ↗
(validationFn)

Source from the content-addressed store, hash-verified

1287}
1288
1289function buildParserAndExpect(validationFn) {
1290 const parser = newInstance();
1291 parser.on('readable', () => validationFn(parser.read()));
1292 return parser;
1293}
1294
1295/**
1296 * Calls done in case there is an error

Callers 1

parser-tests.jsFile · 0.85

Calls 2

newInstanceFunction · 0.70
readMethod · 0.45

Tested by

no test coverage detected