Sha256: 0aab71fc246c182969f5fccc5d2c1e1257a15ecaa489e7b77d21ed5cb4ce4f72
Contents?: true
Size: 789 Bytes
Versions: 2
Compression:
Stored size: 789 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typescript-src-1.6.2.0 | test/test_type_script_src.rb |
typescript-src-1.4.1.3 | test/test_type_script_src.rb |