I am trying to test my code in angular-ui-grid using this tutorial in the Jasmine testing framework, but I struggle in doing that. According to the tutorial you shuld require the file gridTestUtil.scenario.js
and then you can use existing scenarios, but I can't make it work.
I tried doing that, as the tutorial says:
var gridTestUtils = require( './gridTestUtils.scenario.js');
gridTestUtils.expectRowCount( 'myGrid', 3 );
Is there anyone who could show me how to use their testing scenarios (such as expectRowCount
, expectCellValueMatch
, ect.) or to add a code sample.
Thanks :)
Aucun commentaire:
Enregistrer un commentaire