Sha256: 35b50c4ce64a854fd3a60057f9c8a84fe614dec6d397fe9aa734cf7562c7b275
Contents?: true
Size: 390 Bytes
Versions: 26
Compression:
Stored size: 390 Bytes
Contents
require 'spec_helper' require 'opal-source-maps' describe Opal::SourceMap do before do pathname = 'foo.rb' compiler = Opal::Compiler.new("1 + 1", :file => pathname) @source = compiler.compile @map = Opal::SourceMap.new(compiler.fragments, pathname) end it 'does not blow while generating the map' do lambda { @map.as_json }.should_not raise_error end end
Version data entries
26 entries across 26 versions & 3 rubygems