Front end of the Slack clone application.

1234567891011
  1. "use strict";
  2. module.exports = function (t, a) {
  3. var x = {}, y = {};
  4. a.deep(t(3), [undefined, undefined, undefined], "Just length");
  5. a.deep(t(0, "x"), [], "No repeat");
  6. a.deep(t(1, x, y), [x], "Arguments length larger than repeat number");
  7. a.deep(t(3, x), [x, x, x], "Single argument");
  8. a.deep(t(5, x, y), [x, y, x, y, x], "Many arguments");
  9. };