Sha256: 0bf90a245acca6a00f1e5da4bac57126191389863d410c3b1ccb3bfbf7914c19

Contents?: true

Size: 754 Bytes

Versions: 1

Compression:

Stored size: 754 Bytes

Contents

require 'test/unit'
require 'typescript-src'

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

  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.2 test/test_type_script_src.rb