muttley
Version:
Monitor Unit Test Tool
28 lines • 957 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const command_line_1 = require("./command-line");
const assert = require("assert");
describe('config', function () {
it('has refreshIntervalMs', function () {
assert.ok(command_line_1.config.refreshIntervalMs);
});
it('has dependencyModule', function () {
assert.ok(command_line_1.config.dependencyModule);
});
it('has testCmd', function () {
assert.ok(command_line_1.config.testCmd);
});
it('has testArgs', function () {
assert.ok(command_line_1.config.testArgs);
});
});
describe('argv', function () {
it('exists', function () {
assert.ok(command_line_1.argv);
});
it('defaults paths to .', function () {
// note - assert.equal(argv.paths,'.') seems to cause xunit reporter to fail :-(
assert.ok(command_line_1.argv.paths);
});
});
//# sourceMappingURL=command-line.t.js.map