1 | "use strict";
|
2 | let trek = require('../index.js').trek;
|
3 | let chai = require('chai');
|
4 | let expect = chai.expect;
|
5 | let chaiXml = require('chai-xml');
|
6 | chai.use(chaiXml);
|
7 |
|
8 | describe('Sounds', function() {
|
9 | it('should return json with no args ', function(done) {
|
10 | trek.mars("curiosity_ctx_mosaic")
|
11 | .then(function(data){
|
12 | expect(data).xml.to.be.valid();
|
13 | done();
|
14 |
|
15 | }).catch(done);
|
16 |
|
17 | });
|
18 | it('should return json with no args ', function(done) {
|
19 | trek.vesta("global_LAMO")
|
20 | .then(function(data){
|
21 | expect(data).xml.to.be.valid();
|
22 | done();
|
23 |
|
24 | }).catch(done);
|
25 |
|
26 | });
|
27 | }); |
\ | No newline at end of file |