UNPKG

node-bowshock

Version:

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

27 lines (22 loc) 708 B
"use strict"; let trek = require('../index.js').trek; let chai = require('chai'); let expect = chai.expect; let chaiXml = require('chai-xml'); chai.use(chaiXml); describe('Sounds', function() { it('should return json with no args ', function(done) { trek.mars("curiosity_ctx_mosaic") .then(function(data){ expect(data).xml.to.be.valid(); done(); }).catch(done); }); it('should return json with no args ', function(done) { trek.vesta("global_LAMO") .then(function(data){ expect(data).xml.to.be.valid(); done(); }).catch(done); }); });