This commit is contained in:
2023-08-31 19:52:55 +08:00
parent e743a53f18
commit 3b79883252
4 changed files with 9 additions and 10 deletions

View File

@@ -18,12 +18,12 @@ describe('ApiSend', function () {
assert.strictEqual(res.isSucc, true, 'Failed to connect to server, have you executed `npm run dev` already?');
})
it('AccountLogin', async function () {
let ret = await client.callApi('AccountLogin', {
name: 'Test'
});
assert.ok(ret.isSucc)
});
// it('AccountLogin', async function () {
// let ret = await client.callApi('AccountLogin', {
// name: 'Test'
// });
// assert.ok(ret.isSucc)
// });
it('LobbyList', async function () {
let ret = await client.callApi('LobbyList', null);