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

Function testValidateName

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

Source from the content-addressed store, hash-verified

71 );
72
73 function testValidateName(testName, input, expected) {
74 it(testName, () => {
75 expect(utils.validateClassName(input)).to.match(expected);
76 });
77 }
78 });
79 describe('should validate', () => {
80 testCorrectName('if the class name is a word', 'foobar');

Callers 1

utils.unit.jsFile · 0.85

Calls 1

matchMethod · 0.65

Tested by

no test coverage detected