UNPKG

node-bowshock

Version:

An npm Package for Node.js based on https://github.com/emirozer/bowshock

18 lines (14 loc) 426 B
"use strict"; let eva = require('../index.js').eva; let chai = require('chai'); let assert = chai.assert; describe('EVA', function() { it('should return json with no args ', function(done) { this.timeout(5000); eva() .then(function(data){ assert.containSubset(JSON.parse(data)[0], {eva: "1"}); done(); }).catch(done); }); });