63 lines
1.7 KiB
JavaScript
Raw Normal View History

2021-01-08 23:35:08 +08:00
/*
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version:
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
*
* Swagger Codegen version: 2.4.18
*
* Do not edit the class manually.
*
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD.
define(['expect.js', '../../src/index'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support module.exports, like Node.
factory(require('expect.js'), require('../../src/index'));
} else {
// Browser globals (root is window)
factory(root.expect, root.SwaggerJsClient);
}
}(this, function(expect, SwaggerJsClient) {
'use strict';
var instance;
beforeEach(function() {
instance = new SwaggerJsClient.GreetApi();
});
describe('(package)', function() {
describe('GreetApi', function() {
describe('ping', function() {
it('should call ping successfully', function(done) {
// TODO: uncomment ping call and complete the assertions
/*
instance.ping(function(error, data, response) {
if (error) {
done(error);
return;
}
// TODO: update response assertions
expect(data).to.be.a(Object);
// expect(data).to.be(null);
done();
});
*/
// TODO: uncomment and complete method invocation above, then delete this line and the next:
done();
});
});
});
});
}));