Keira3
Keira3 copied to clipboard
npm run test errors
This may be nothing and then you can close... But while I was trying to figure out how to build this I ran the visual test and these were some errors that came up
ERROR: 'getRowIndex() failed in finding row having guid undefined'
ERROR: 'getRowIndex() failed in finding row having guid undefined'
WARN: 'Can't bind to 'tooltip' since it isn't a known property of 'i'.'
ERROR: 'Unable to find name for source_type = 1, entryorguid = 1234'
WARN: ''keira-search-button' is not a known element:
1. If 'keira-search-button' is an Angular component, then verify that it is part of this module.
2. If 'keira-search-button' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.'
WARN: ''keira-search-button' is not a known element:
1. If 'keira-search-button' is an Angular component, then verify that it is part of this module.
2. If 'keira-search-button' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this compWARN: 'Can't bind to 'searchService' since it isn't a known property of 'keira-search-button'.'
WARN: 'Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?'
WARN: 'Spec 'MysqlService dbQuery(queryString) should properly work' has no expectations.'
WARN: 'Spec 'MysqlService dbQuery(queryString) should give error if _connection is not defined' has no expectations.'
WARN: 'Spec 'MysqlService dbQuery(queryString) should give error if reconnection is in progress' has no expectations.'
LOG: 'Error when executing query:
undefined'
LOG: 'Error when executing query:
ERROR: 'Unable to find name for source_type = 0, entryorguid = 123'
WARN: 'Can't bind to 'dropup' since it isn't a known property of 'div'.'
WARN: 'Can't bind to 'isDisabled' since it isn't a known property of 'div'.'
WARN: 'Can't bind to 'dropup' since it isn't a known property of 'div'.'
WARN: 'Can't bind to 'isDisabled' since it isn't a known property of 'div'.'
WARN: 'Can't bind to 'dropup' since it isn't a known property of 'div'.'
WARN: 'Can't bind to 'isDisabled' since it isn't a known property of 'div'.'
WARN: 'Can't bind to 'dropup' since it isn't a known property of 'div'.'
WARN: 'Can't bind to 'isDisabled' since it isn't a known property of 'div'.'
ERROR: 'Missing comment for action_type 99999'
ERROR: 'Missing comment for event_type 99999'
TOTAL: 1198 SUCCESS
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
those errors are not really flagging any concrete problem, all tests pass:
TOTAL: 1198 SUCCESS
however I agree it would be nice to fix them. They are mostly due to the fact that in unit testing we test stuff in isolation, then other dependencies like _connection
are not definite (and it's ok, but we still get a warning because in the real app we do want to know if _connection
is not defined, in the unit tests we don't care)
Priority-Cosmetic :D
it would be nice to fix this and make the CI fail as soon as new warnings are introduced