Skip to content

Change in async behavior between version 1.0.0-beta.16 and 1.0.0-beta.24 #906

Closed
@jlynde

Description

@jlynde

Version

1.0.0-beta.24

Reproduction link

https://codesandbox.io/s/3q07pkwm5

Steps to reproduce

See the comments in the HelloWorld.spec.js file of the linked minimal reproduction. Basically, there is one section of code that can be commented or un-commented to show the problem.

This is based on our project code which has many tests that are similar in nature to this reproduction link. These tests are all passing if we use 1.0.0-beta.16 (and 1.0.0-beta.17 ). But when we tried to upgrade to the latest version (1.0.0-beta.24) these tests began to fail.

What is expected?

The tests depend on localVue.nextTick() not being called until the DOM is changed by the component code.

What is actually happening?

The localVue.nextTick() function is being called too soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions