forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~WINDY/fui:master to master * commit '2124feb089778e8b5ba38544979512c8c9cd1995': update 无JIRA任务 refactor: replaceAll兼容nulles6
windy
5 years ago
6 changed files with 24 additions and 5 deletions
@ -0,0 +1,19 @@ |
|||||||
|
/** |
||||||
|
* @author windy |
||||||
|
* @version 2.0 |
||||||
|
* Created by windy on 2020/6/5 |
||||||
|
*/ |
||||||
|
describe("dateFunctionTest", function () { |
||||||
|
|
||||||
|
before(function () { |
||||||
|
|
||||||
|
}); |
||||||
|
|
||||||
|
/** |
||||||
|
* test_author_windy |
||||||
|
*/ |
||||||
|
it("getWeekNumber", function () { |
||||||
|
expect(BI.replaceAll(null, "A", "b")).to.equal(null); |
||||||
|
expect(BI.replaceAll("A", "A", "b")).to.equal("b"); |
||||||
|
}); |
||||||
|
}); |
Loading…
Reference in new issue