Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 25 Dec 16:42
· 34 commits to main since this release

Minor Changes

  • ✨ deprecate setup-zones in favor of analog's setupTestBed (by @shairez in #12)

    Motivation

    Analog has implemented their own setupTestBed() function that provides a more comprehensive and maintained solution for setting up Angular tests with Vitest.

    Rather than maintaining duplicate setup logic and keeping documentation in sync, we're directing users to Analog's official documentation.

    Migration Guide

    Users should migrate from:

    // vitest.config.ts
    
    setupFiles: ['vitest-browser-angular/setup-zones'];

    To using Analog's setupTestBed():

    setupTestBed({ browserMode: true });

    See https://analogjs.org/docs/features/testing/vitest for full instructions

Patch Changes

  • ✨ expose config types (by @shairez in #8)

  • 🛠 added test,lint and build checks in CI for PRs (by @shairez in #8)

  • 🐞🩹 component type in render function (by @shairez in #12)

  • 🛠 Implemented tests for zoneless setup (by @MRinaldi9 in #6)

  • ✨ when rendering you can now pass input values to a component (by @shairez in #8)