MCPcopy Index your code
hub / github.com/share/sharedb / getErrorTest

Function getErrorTest

test/middleware.js:21–26  ·  view source on GitHub ↗
(done)

Source from the content-addressed store, hash-verified

19 return next(expectedError);
20 }
21 function getErrorTest(done) {
22 return function(err) {
23 expect(err).to.eql(expectedError);
24 done();
25 };
26 }
27
28 describe('use', function() {
29 it('returns itself to allow chaining', function() {

Callers 1

middleware.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…