diff --git a/karma.conf.js b/karma.conf.js index 07cf09ea5d..209837431f 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -25,10 +25,9 @@ module.exports = function (config) { "src/core/wrapper/layout.js", "src/core/plugin.js", "src/core/**/*.js", - "private/prepare.js", "src/data/**/*.js", "src/**/*.test.js", - "test/**/*.test.js" + "test/**/*.js" ], diff --git a/private/prepare.js b/test/prepare.js similarity index 100% rename from private/prepare.js rename to test/prepare.js diff --git a/test/utils/base.test.js b/test/utils/base.test.js index a6c942fc85..5184f79bff 100644 --- a/test/utils/base.test.js +++ b/test/utils/base.test.js @@ -105,6 +105,6 @@ describe("baseFunctionTest", function () { */ it("makeArray", function () { var a = BI.makeArray(2, 1); - expect(a).to.deep.equal([1, 1, 1]); + expect(a).to.deep.equal([1, 1]); }); });