1 | import expect from "expect";
|
2 | import Version from "../src/Version";
|
3 |
|
4 | describe("cli", function() {
|
5 | context("when given --dry-run", function() {
|
6 | it("should run", function() {
|
7 | this.timeout(5000);
|
8 |
|
9 | const output = Version.exec("babel-node src/cli --dry-run");
|
10 |
|
11 | expect(output).toExist();
|
12 | });
|
13 | });
|
14 | });
|