GatechVIP / gatech-swapr-server-node

1 stars 8 forks source link

Create SWAPRUser tests all timeout in mocha #42

Closed stuartf closed 7 years ago

stuartf commented 7 years ago

It looks like the all the Create SWAPRUser tests currently timeout without calling done() instead of failing.

stuartf commented 7 years ago

Console output looks like:

  12) Create SWAPRUser returns username, first_name, last_name, and email when given valid input for those fields along with a password:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  13) Create SWAPRUser returns an error when a duplicate username is input:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  14) Create SWAPRUser returns an error when a duplicate email is input:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  15) Create SWAPRUser allows duplicate passwords:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  16) Create SWAPRUser allows duplicate first_names:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  17) Create SWAPRUser allows duplicate last_names:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  18) Create SWAPRUser requires that a username be provided:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  19) Create SWAPRUser requires that a first_name be provided:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  20) Create SWAPRUser requires that a last_name be provided:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  21) Create SWAPRUser requires that an email address be provided:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  22) Create SWAPRUser requires that the email address input take the form of an email address:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  23) Create SWAPRUser returns an error when given an empty password field:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  24) Create SWAPRUser does not accept numerical values as inputs for username:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  25) Create SWAPRUser does not accept boolean values as inputs for username:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  26) Create SWAPRUser does not accept arrays as inputs for username:
 Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  27) Create SWAPRUser does not accept numerical values as inputs for first_name:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  28) Create SWAPRUser does not accept boolean values as inputs for first_name:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  29) Create SWAPRUser does not accept arrays as inputs for first_name:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  30) Create SWAPRUser does not accept numerical values as inputs for last_name:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  31) Create SWAPRUser does not accept boolean values as inputs for last_name:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  32) Create SWAPRUser does not accept arrays as inputs for last_name:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

   33) Create SWAPRUser does not accept numerical values as inputs for email:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  34) Create SWAPRUser does not accept boolean values as inputs for email:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  35) Create SWAPRUser does not accept arrays as inputs for email:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  36) Create SWAPRUser does not accept numerical values as inputs for password:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  37) Create SWAPRUser does not accept boolean values as inputs for password:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  38) Create SWAPRUser does not accept arrays as inputs for password:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  39) Create SWAPRUser does not allow username to be undefined:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  40) Create SWAPRUser does not allow first_name to be undefined:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  41) Create SWAPRUser does not allow last_name to be undefined:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  42) Create SWAPRUser does not allow email to be undefined:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.

  43) Create SWAPRUser does not allow password to be undefined:
   Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.