From 53a8d3b6c9ba67bf82e7f8902945e86e39b3c336 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 24 Jan 2019 16:44:52 +0800 Subject: [PATCH] update --- karma.conf.js | 3 +-- {private => test}/prepare.js | 0 test/utils/base.test.js | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) rename {private => test}/prepare.js (100%) 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]); }); });