Commit 0c87c41f authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Add smoke test to check that JSDuck doesn't crash.

A simple check that running jsduck --version results in 0 exit code.
parent 4a6dc607
Loading
Loading
Loading
Loading

spec/smoke_spec.rb

0 → 100644
+9 −0
Original line number Diff line number Diff line

describe "smoke test running jsduck --version" do

  it "does not crash" do
    `./bin/jsduck --version`
    $?.exitstatus.should == 0
  end

end