1
0

shim.js 267 B

12345678
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. a.deep(t({ foo: 'bar' }), ['foo'], "Object");
  4. a.deep(t('raz'), ['0', '1', '2'], "Primitive");
  5. a.throws(function () { t(); }, TypeError, "Undefined");
  6. a.throws(function () { t(null); }, TypeError, "Undefined");
  7. };