All files con-test.js

100% Statements 8/8
100% Branches 0/0
100% Functions 1/1
100% Lines 8/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 161x   1x 1x   1x 1x 1x         1x     1x
const apiBackend = 'http://development.computatus.com:61976'; // modify this with your backend
 
const tickLog = require('tick-log');
const fetchLean = require('fetch-lean');
 
const test_ = async () => {
        let l_uri = `${apiBackend}/testhandler`;
        let result = fetchLean("GET", l_uri, {}, {
                name: "test",
                email: "a@b.com",
                password: "12345678"
        });
        tickLog.info(`result: ${JSON.stringify(result)}`);
}
 
module.exports = test_;