aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Coleman <coleman.ian@gmail.com>2016-10-05 12:37:01 +1100
committerIan Coleman <coleman.ian@gmail.com>2016-10-05 12:37:01 +1100
commitb0fb45b9f170f415826608379abf3a9b636c10a8 (patch)
tree511ed9e7af1794493138ffaeab31cf57bc6a270a
parent558ef9ac0568b37c2167e94de2ac6c30d8110936 (diff)
downloadBIP39-b0fb45b9f170f415826608379abf3a9b636c10a8.tar.gz
BIP39-b0fb45b9f170f415826608379abf3a9b636c10a8.tar.zst
BIP39-b0fb45b9f170f415826608379abf3a9b636c10a8.zip
Template code in comment for future tests.
-rw-r--r--tests.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests.js b/tests.js
index 3518aa0..1b2ae4c 100644
--- a/tests.js
+++ b/tests.js
@@ -1762,6 +1762,37 @@ page.open(url, function(status) {
1762}); 1762});
1763}, 1763},
1764 1764
1765// If you wish to add more tests, do so here...
1766
1767// Here is a blank test template
1768/*
1769
1770function() {
1771page.open(url, function(status) {
1772 // Do something on the page
1773 page.evaluate(function() {
1774 $(".phrase").val("abandon abandon ability").trigger("input");
1775 });
1776 waitForGenerate(function() {
1777 // Check the result of doing the thing
1778 var expected = "1Di3Vp7tBWtyQaDABLAjfWtF6V7hYKJtug";
1779 var actual = page.evaluate(function() {
1780 return $(".address:first").text();
1781 });
1782 if (actual != expected) {
1783 console.log("A specific message about what failed");
1784 console.log("Expected: " + expected);
1785 console.log("Actual: " + actual);
1786 fail();
1787 }
1788 // Run the next test
1789 next();
1790 });
1791});
1792},
1793
1794*/
1795
1765]; 1796];
1766 1797
1767console.log("Running tests..."); 1798console.log("Running tests...");