When using assert.deepEqual
it seems even modest datasets are blowing up the test output.
Test code
QUnit.module("Crops", function() {
QUnit.test.each("limit 200, start 1000, 1 season", testData_Limit200Start1000, function(assert, data) {
cropLimit = 200;
assert.deepEqual(generateData(1000, crops.parsnip, 28), data, "test message");
});
});
Output
Is there a way to circumvent this and only show the exact data that mismatched instead of the entire data structure? Am I stuck writing my own deep equals method?