UNPKG

323 BJavaScriptView Raw
1import expect from "expect";
2import Version from "../src/Version";
3
4describe("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});