Sha256: 26a325bba2a6ca46600fc6f2bea6634e7d25a5fe856ca1ad9f8d70985f6c0f93
Contents?: true
Size: 463 Bytes
Versions: 5
Compression:
Stored size: 463 Bytes
Contents
require "typescript-node" module TypeScript module Node describe "#compile_file" do subject do hello_ts = File.expand_path("data/hello.ts", File.dirname(__FILE__)) Node.compile_file(hello_ts) end its(:exit_status) { should == 0 } it { should be_success } its(:js) { should == "console.log(\"Hello TypeScript\");\r\n" } its(:stdout) { should == "" } its(:stderr) { should == "" } end end end
Version data entries
5 entries across 5 versions & 1 rubygems