MCPcopy Create free account
hub / github.com/JS-DevTools/ono / newErrorWithParams

Function newErrorWithParams

test/specs/singleton.spec.js:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36
37 it("can be called with the `new` operator with args", () => {
38 function newErrorWithParams () {
39 return new ono("Testing", 1, "2", "3"); // eslint-disable-line new-cap
40 }
41
42 let err = newErrorWithParams();
43

Callers 1

singleton.spec.jsFile · 0.85

Calls 1

onoFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…