Skip to content

Commit

Permalink
chore: rename dredd-command.js to cli.js
Browse files Browse the repository at this point in the history
  • Loading branch information
michalholasek committed Jun 19, 2018
1 parent 546c3bf commit 5f91b67
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/dredd
Expand Up @@ -12,7 +12,7 @@ var path = require('path');


var dir = process.env.COVERAGE_DIR ? 'src' : 'lib';
var DreddCommand = require('../' + dir + '/dredd-command');
var DreddCommand = require('../' + dir + '/cli');


var dreddCli = new DreddCommand({
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test/integration/dredd-command-test.js
Expand Up @@ -28,7 +28,7 @@ const dreddStub = proxyquire('../../src/dredd', {
'./logger': loggerStub
});

const DreddCommand = proxyquire('../../src/dredd-command', {
const DreddCommand = proxyquire('../../src/cli', {
'./dredd': dreddStub,
'./config-utils': configUtils,
console: loggerStub,
Expand Down
2 changes: 1 addition & 1 deletion test/unit/dredd-command-test.js
Expand Up @@ -32,7 +32,7 @@ const DreddStub = proxyquire('../../src/dredd', {
'./logger': loggerStub
});

const DreddCommand = proxyquire('../../src/dredd-command', {
const DreddCommand = proxyquire('../../src/cli', {
'./dredd': DreddStub,
console: loggerStub,
'./logger': loggerStub,
Expand Down

0 comments on commit 5f91b67

Please sign in to comment.