tfs
Version:
NodeJS wrapper for Team Foundation Source Control CLI.
46 lines (43 loc) • 1.2 kB
JavaScript
var assert = require('assert'),
debug = require('../../lib/utils/debug'),
tfs = require('../../lib/tfs');
/**
* [describe description]
*
* @version 1.3.0
*/
describe('HISTORY Tests Suite', function() {
var options = {
b: [
'itemmode',
'noprompt',
'recursive',
'slotmode'
],
i: [
'stopafter'
],
s: [
'collection',
'format',
'login',
'sort',
'user',
'version'
]
};
// it('SHOULD works with BOOLEAN options', function () {
// var test = debug.getBooleanAssert(options);
// assert.equal('history "' + debug.cwd(true) + '" ' + test.output, tfs('history', null, test.options).command);
// });
//
// it('SHOULD works with INTEGER options', function () {
// var test = debug.getIntegerAssert(options);
// assert.equal('history "' + debug.cwd(true) + '" ' + test.output, tfs('history', null, test.options).command);
// });
//
// it('SHOULD works with STRING options', function () {
// var test = debug.getStringAssert(options);
// assert.equal('history "' + debug.cwd(true) + '" ' + test.output, tfs('history', null, test.options).command);
// });
});