Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vuejs/test-utils
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.2
Choose a base ref
...
head repository: vuejs/test-utils
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.3
Choose a head ref
  • 6 commits
  • 8 files changed
  • 4 contributors

Commits on Nov 13, 2022

  1. chore: publish 2.2.2

    lmiller1990 committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    59331e9 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. Configuration menu
    Copy the full SHA
    f2dd612 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. fix: allow spying on non-exposed script setup functions

    Fixes #1859
    
    The proxy needs to implement `defineProperty` to allow spying.
    cexbrayat committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    87625ec View commit details
    Browse the repository at this point in the history
  2. fix: expose props on vm for script setup components

    Fixes #1863
    
    It turns out `vm` is not enough, and we need to proxy to `vm.$.ctx` which contains the props as well.
    cexbrayat committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    bf1fbe9 View commit details
    Browse the repository at this point in the history
  3. fix: allow mocking on script setup components (#1861)

    We need to differentiate how the mixin used for mocking updates the isntance,
    as Vue v3.2.45 now forbids to update directly a script setup component from a component written with the Options API.
    
    Fixes the error `set' on proxy: trap returned falsish for property`
    
    This comes from the fact that mocks are set via a mixin (Options API) and we run into the more strict behavior of Vue v3.2.45
    introduced in vuejs/core@f73925d#diff-ea4d1ddabb7e22e17e80ada458eef70679af4005df2a1a6b73418fec897603ceR404
    cexbrayat authored Nov 15, 2022
    Configuration menu
    Copy the full SHA
    9a256db View commit details
    Browse the repository at this point in the history
  4. publish: 2.2.3

    lmiller1990 committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    a091420 View commit details
    Browse the repository at this point in the history
Loading