forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
433 B
16 lines
433 B
/** |
|
* Created by windy on 2018/01/23. |
|
*/ |
|
describe("aliasFunctionTest", function () { |
|
|
|
/** |
|
* test_author_windy |
|
*/ |
|
it("html编码和解码方法", function () { |
|
|
|
var targetString = "<a>1 2&</a>"; |
|
var encodeString = BI.htmlEncode(targetString); |
|
expect(encodeString).to.equal("<a>1 2&</a>"); |
|
expect(BI.htmlDecode(encodeString)).to.equal(targetString); |
|
}); |
|
});
|
|
|