MCPcopy
hub / github.com/forwardemail/supertest / shouldIncludeStackWithThisFile

Function shouldIncludeStackWithThisFile

test/supertest.js:22–25  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

20process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
21
22function shouldIncludeStackWithThisFile(err) {
23 err.stack.should.match(/test\/supertest.js:/);
24 err.stack.should.startWith(err.name + ':');
25}
26
27describe('request(url)', function () {
28 it('should be supported', function (done) {

Callers 1

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