Sha256: 60a2f7cfde440b5cfa4e2e8cc42f371c75e8baad07c7184714445703512616ad

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

require 'simplecov'
require 'simplecov_json_formatter'
SimpleCov.formatter = SimpleCov::Formatter::JSONFormatter
SimpleCov.start

# This environment variable exists so that we can run WASM tests
# via the CI process for libs/wasm* and not just through the CI
# of the ruby-sdk
WASM_DIR = ENV['WASM_DIR'] || File.join(File.dirname(__FILE__), '..', 'test-assets', 'wasm')

# Load the WebAssembly module
def load_wasm(name)
  File.read(File.join(WASM_DIR, name))
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
streamdal-0.0.5 lib/spec_helper.rb