UNPKG

tplus-api

Version:

tplus api invoke

18 lines (15 loc) 473 B
const jsdom = require('mocha-jsdom'); // const { // expect // } = require('chai'); import {serverLog} from '../src'; jsdom({ html: "<!doctype html><html><head><meta charset='utf-8'></head>" + '<body><div id="root"></div></body></html>' }); describe('User', () => { it('用户登录', async ()=>{ console.log('document=====',document); // serverLog('workreport',{eventId:'logtest123',orgId:'90012798205',userId:'60012359905'}); }); });