# `Volt.Test.Assertions`
[🔗](https://github.com/elixir-volt/volt/blob/v0.15.5/lib/volt/test/assertions.ex#L1)

Converts Volt JavaScript test runner results into ExUnit assertions.

# `assert`
*macro* 

Runs JavaScript-like sigils as Volt test assertions.

This extends ExUnit's `assert/1` for `~JS`, `~TS`, `~JSX`, and `~TSX`
snippets while delegating all other expressions to `ExUnit.Assertions.assert/1`.

# `assert`
*macro* 

Delegates to ExUnit's `assert/2`.

# `assert_js`
*macro* 

Runs a JavaScript or TypeScript snippet as a Volt test assertion.

The snippet body is wrapped in a single Volt `test(...)`. Top-level import
declarations are preserved outside the wrapper so snippets can import app
code while keeping assertions inline in ExUnit tests.

# `assert_passed!`

```elixir
@spec assert_passed!(Volt.Test.Result.t()) :: :ok
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
