-
-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In version 11 and previous I could mock teleport globally and tests would pass. From version 12 they are failing or there is at least warn [Vue warn]: Unhandled error during execution of app errorHandler.
Mock:
import { config } from '@vue/test-utils';
config.global.stubs = {
teleport: true,
};To Reproduce
Steps to reproduce the behavior:
- Run
pnpm test:unit - Test will crush
Here is simplest vue project with this bug https://github.com/tk-tim/vue-datepicker-issue
Expected behavior
Test should pass, since I don't even use teleport. But it was also alright in v11 when I used prop :teleport="true".
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
