Commit Graph

512 Commits (c5b2b64d7fb869ee2fa9cfc0d12a9cec5ce2c511)

Author SHA1 Message Date
lilia df0eaf622a Clean up test files
Moved all test code into /test. Renamed test.js to crypto_test.js.
(Let's try to keep test files topical.) Merged test_views.html and
test.html into a single test/index.html.

Todo: use Grunt to generate test/index.html from index.html and files
found in /test. Also, write more tests.
11 years ago
lilia 245dc5b248 Update message view test 11 years ago
lilia cb89ac1071 Fix view test nacl path 11 years ago
lilia 1c76c0b546 Move storage objects to their own files
Greatly reduce the size of the ignominiously named helpers.js.
11 years ago
Arnaud Benard e568e2c528 Fixes #61 - Order by timestamps with tests 11 years ago
lilia 0cf5ae3bbf Reorganize message view test a bit 11 years ago
lilia db86abdf70 Add list view tests
Also,
 * moved fetch out of the list view
 * removed unused #last() function
 * put test setup lines in their own tiny file.
 * added data-cover to view script tags for code coveage reports.
11 years ago
lilia 4ccb2b2f98 Add a page for testing views. 11 years ago
Matt Corallo 87b626d42a Fix blanket popup 11 years ago
Matt Corallo 615fa1075c Fix blanket for plugin (http://stackoverflow.com/questions/23022686) 11 years ago
Matt Corallo 5e3b7e9db8 Add missing blanket-js file 11 years ago
lilia 2751d0e884 Such tests. Very mocha. Much chai. Amaze!!!
ERHMAGERRRD testing frameworks are so the best. Removed all our custom
code for ensuring test exclusivity and doneness and isolating callbacks
and everything. mocha does it all for us, and makes it pretty.

Also rather than return a long chain of promises that eventually resolve
to truthiness, we now use chai to make assertions about what is good and
right in the world.

Recommended reading:
  https://visionmedia.github.io/mocha
  http://chaijs.com/api/assert/
11 years ago