index.test.js 465 B

1234567891011121314151617181920
  1. "use strict";
  2. var assert = require("@sinonjs/referee-sinon").assert;
  3. var index = require("./index");
  4. describe("package", function() {
  5. var expectedExports = [
  6. "calledInOrder",
  7. "className",
  8. "every",
  9. "functionName",
  10. "orderByFirstCall",
  11. "prototypes",
  12. "typeOf",
  13. "valueToString"
  14. ];
  15. Object.keys(index).forEach(function(name) {
  16. assert.isTrue(expectedExports.includes(name));
  17. });
  18. });