MCPcopy
hub / github.com/prettier/prettier / test

Function test

src/language-html/embed/angular-attributes.js:36–41  ·  view source on GitHub ↗
(path /* , options */)

Source from the content-addressed store, hash-verified

34 - `on-click="angularStatement"`
35 */
36 test(path /* , options */) {
37 const name = path.node.fullName;
38 return (
39 (name.startsWith("(") && name.endsWith(")")) || name.startsWith("on-")
40 );
41 },
42 print: createAngularPrinter("__ng_action"),
43 },
44 {

Callers 1

Calls 1

testMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…