123456789101112131415161718192021222324252627282930313233343536 |
- /**
- * IM客户端单元测试。单元测试编写规则:至少对对每个接口执行正反例测试,若有条件可以增加接口的性能测试。
- *
- * 此部分为群会话测试。
- *
- * @author sand
- * @since 2016/12/24
- */
- "use strict";
- var $ = require('jquery');
- let assert = require('assert');
- let imClient = require('../../src/client/im.client');
- // 测试会话用的数据, test data
- let TD = {
- MUC: {
- SessionId: "",
- Topics: [],
- DoctorA: "",
- DoctorB: "",
- Patient: ""
- }
- };
- describe("IM SDK Unit Test", function () {
- // 会话API
- describe("Session API", function () {
- describe("get sessions", function () {
- it("return 200 when user login yet.", function (done) {
- done();
- });
- });
- });
- });
|