diff --git a/lib/index.mjs b/lib/index.mjs deleted file mode 100644 index 9c2a0ba..0000000 --- a/lib/index.mjs +++ /dev/null @@ -1,23 +0,0 @@ -import global from "./global.mjs"; -import calledInOrder from "./called-in-order.mjs"; -import className from "./class-name.mjs"; -import * as deprecated from "./deprecated.js"; -import every from "./every.mjs"; -import functionName from "./function-name.mjs"; -import orderByFirstCall from "./order-by-first-call.mjs"; -import prototypes from "./prototypes.mjs"; -import typeOf from "./type-of.mjs"; -import valueToString from "./value-to-string.mjs"; - -export default { - global, - calledInOrder, - className, - deprecated, - every, - functionName, - orderByFirstCall, - prototypes, - typeOf, - valueToString, -}; diff --git a/lib/index.test.mjs b/lib/index.test.mjs deleted file mode 100644 index a9256a3..0000000 --- a/lib/index.test.mjs +++ /dev/null @@ -1,30 +0,0 @@ -import pkg from "@sinonjs/referee-sinon"; -const assert = pkg.assert; -import commons from "./index.mjs"; - -var expectedMethods = [ - "calledInOrder", - "className", - "every", - "functionName", - "orderByFirstCall", - "typeOf", - "valueToString", -]; -var expectedObjectProperties = ["deprecated", "prototypes"]; - -describe("package", function () { - // eslint-disable-next-line mocha/no-setup-in-describe - expectedMethods.forEach(function (name) { - it(`should export a method named ${name}`, function () { - assert.isFunction(commons[name]); - }); - }); - - // eslint-disable-next-line mocha/no-setup-in-describe - expectedObjectProperties.forEach(function (name) { - it(`should export an object property named ${name}`, function () { - assert.isObject(commons[name]); - }); - }); -});