`node test.js` fails
The README of the project recommends to run cd tools && node test.js
to ensure consistency. However, when running this on the dev
branch, the scripts outputs the following:
node test.js
Check if Properties of Items exist...
E: Type: 'SuggestedMerge', has non-existent property: 'score'
Check if Edges of Items exist...
E: Type: 'Person', has non-existent relation: 'occurence'
Check if Types of Edges and Properties exist...
Check for duplicate properties and edges (inherited and redefined)...
Check for unused Edges...
W: No Item uses Edge 'occurrence' of Type 'Person'
Check for unused Properties...
Check for problems in descriptions...
W: Item 'AuditItem' has TBD in description.
W: Item 'CVUStateDefinition' has TBD in description.
W: Item 'CVUStoredDefinition' has TBD in description.
W: Item 'Datasource' has TBD in description.
W: Item 'NavigationItem' has TBD in description.
W: Item 'UserState' has TBD in description.
W: Item 'ViewArguments' has TBD in description.
W: Property 'selector' has TBD in its description
W: Property 'softProperty' has TBD in its description
It however exists successfully, even with what looks to be errors above.
Additionally, CI doesn't seem to exist to test those types of failures automatically and prevent this kind of error from happening
┆Issue is synchronized with this Clickup task by Unito