I encountered an issue with my test case after adding a new parameter tiger
to the method swimming
.
Despite passing the new parameter tiger
to my test case, it continues to break.
Update: I am receiving an "undefined grid" error at this line. Any suggestions on how to proceed? Let grid = $('#henTigerGrid').data('kendoGrid');
let tiger = {
"nail": "hens/v1/sky/88888888888888",
"columns": [],
"title": "DOCUMENTS",
"excelFileName": "ViewAiringsExport",
"mainId": 88888888888888
};
Code snippet:
Error Log:
[0] 14 09 2017 19:56:26.250:DEBUG [web-server]: serving (cached): C:/Desktop/08-31-afternoon/webcomponent/src/main/webapp/app/components/finan LOG: 'model.skyName--->text.txt'
LOG: 'tiger.naile---->hens/v1/sky/88888888888888'
Chrome 60.0.3112 (Windows 10 0.0.0) Jasmine Unit Tests: Help-Dashboard-Manage-Tiger Add start Finger FAILED
[0] TypeError: Cannot read property '_data' of undefined
Chrome 60.0.3112 (Windows 10 0.0.0): Executed 14 of 29 (1 FAILED) (0 secs / 2.796 secs)
Code Block:
swimming(evt, dropValue, tiger) {
// Code logic here
}
Test Case:
describe('Jasmine Unit Tests: Help-Dashboard-Manage-Tiger', () => {
// Test case details
});