UNPKG

lightlink

Version:

Client package for lightlink.io allowing progressive loading (display the first page of data that is transmitted already while the rest AJAX request is still in loading)

13 lines (10 loc) 333 B
'use strict'; const expect = require('chai').expect; const lightlink = require('../index'); describe('#firstTest', function() { it('should convert single digits', function() { var result = lightlink("http://url/",{a:0}); // expect(result).to.equal('http://url/{"a":0}'); // todo }); });