Volt.Test.Bundle (Volt v0.15.0)

Copy Markdown View Source

Executable JavaScript bundle for a Volt test file.

This struct is owned by the Elixir side of the test runner. JavaScript runner results remain plain JS-decoded maps; bundle metadata such as sourcemaps and source files stays here instead of being mixed into JS result maps.

Summary

Types

t()

@type t() :: %Volt.Test.Bundle{
  code: String.t(),
  entry: Path.t(),
  files: [Path.t()],
  sourcemap: String.t() | nil
}