Sha256: d5a2e58d897ab7d27399f9a2789aea721ff75d1c461d284e7709aa5c47abc02b

Contents?: true

Size: 643 Bytes

Versions: 1

Compression:

Stored size: 643 Bytes

Contents

require 'test/unit'

class TestTypeScriptSrc < Test::Unit::TestCase
  def test_version
    assert { TypeScript::Src::VERSION.kind_of?(String) }
  end

  def test_package_json_path
    assert { TypeScript::Src.package_json_path.file? }
  end

  def test_license_path
    assert { TypeScript::Src.license_path.file? }
  end

  def test_typescript_path
    assert { TypeScript::Src.typescript_path.directory? }
  end

  def test_tsc_path
    assert { TypeScript::Src.tsc_path.file? }
  end

  def test_js_path
    assert { TypeScript::Src.js_path.file? }
  end

  def test_js_content
    assert { TypeScript::Src.js_content.length > 0 }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typescript-src-1.0.1.1 test/test_type_script_src.rb