MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / testExpectError

Function testExpectError

packages/cli/test/unit/utils.unit.js:150–154  ·  view source on GitHub ↗
(testName, input, expected)

Source from the content-addressed store, hash-verified

148 });
149
150 function testExpectError(testName, input, expected) {
151 it(testName, () => {
152 expect(utils.toClassName(input)).to.match(expected);
153 });
154 }
155
156 function testExpectNoChange(testName, input) {
157 it(testName, () => {

Callers 1

utils.unit.jsFile · 0.85

Calls 1

matchMethod · 0.65

Tested by

no test coverage detected