Gluon browser package · 1.10.0
@gluonjs/test-utils
Black-box component and application test helpers for Gluon.
Runtimebrowser
Version1.10.0
LicenseMIT
Public entry points2
Install and start
Install the public package at the same version as the rest of the Gluon train:
npm install @gluonjs/test-utilsimport { afterEach, expect, it } from 'vitest';
import { html } from '@gluonjs/core';
import { cleanupFixtures, mountComponent } from '@gluonjs/test-utils';Purpose
Black-box component and application test helpers for Gluon.
Use cases
- Browser-based mounting of public components and applications.
- Test cleanup helpers and SSR-specific test helpers.
- User-facing behavior checks without private runtime imports.
Public entry points
Only these package exports are part of the supported public boundary.
Dependencies and peers
Installed dependencies
- @gluonjs/core · runtime dependency
- @gluonjs/reactivity · runtime dependency
- @gluonjs/router · runtime dependency
- @gluonjs/ssr · runtime dependency
- @gluonjs/store · runtime dependency
Peer dependencies
- @gluonjs/core@1.10.0 · optional
- @gluonjs/reactivity@1.10.0
- @gluonjs/router@1.10.0
- @gluonjs/ssr@1.10.0 · optional
- @gluonjs/store@1.10.0
API reference
Open an entry point above for generated symbol documentation and a reviewed example for every public symbol. Application code must import from this package entry point, never from repository source paths.
Scope and limits
- Targets the supported browser matrix rather than Node-only unit tests.
- Does not expose private framework internals.
Related guides
Verified integration notes
- Depends on Core, Reactivity, Router, SSR, and Store.
- Exports `.` and `./ssr`.