From d5d05c5d1543e15cc7be7d3672d80a167a01a767 Mon Sep 17 00:00:00 2001 From: Scott Kyle Date: Wed, 28 Oct 2015 10:45:42 -0700 Subject: [PATCH] Add comments to test to explain canceling transaction --- tests/ArrayTests.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ArrayTests.js b/tests/ArrayTests.js index 622c99d7..25950511 100644 --- a/tests/ArrayTests.js +++ b/tests/ArrayTests.js @@ -289,6 +289,7 @@ module.exports = BaseTest.extend({ TestCase.assertEqual(array.length, 1); TestCase.assertEqual(array[0].doubleCol, 4); + // This should cancel the transaction and cause the list to be reset. throw new Error('Transaction FAIL'); }); } catch (e) {} @@ -323,6 +324,7 @@ module.exports = BaseTest.extend({ array.push(objects[0], objects[1]); TestCase.assertEqual(objects.length, 7); + // This should cancel the transaction and cause the list and results to be reset. throw new Error('Transaction FAIL'); }); } catch (e) {}