cypress
Advanced tools
Comparing version 12.3.0 to 12.4.0
@@ -117,3 +117,3 @@ /// <reference types="cypress" /> | ||
* it('Has spy', () => { | ||
* mount(StepperComponent, { change: createOutputSpy('changeSpy') }) | ||
* mount(StepperComponent, { componentProperties: { change: createOutputSpy('changeSpy') } }) | ||
* cy.get('[data-cy=increment]').click() | ||
@@ -120,0 +120,0 @@ * cy.get('@changeSpy').should('have.been.called') |
@@ -289,3 +289,3 @@ | ||
* it('Has spy', () => { | ||
* mount(StepperComponent, { change: createOutputSpy('changeSpy') }) | ||
* mount(StepperComponent, { componentProperties: { change: createOutputSpy('changeSpy') } }) | ||
* cy.get('[data-cy=increment]').click() | ||
@@ -292,0 +292,0 @@ * cy.get('@changeSpy').should('have.been.called') |
{ | ||
"name": "cypress", | ||
"version": "12.3.0", | ||
"version": "12.4.0", | ||
"main": "index.js", | ||
@@ -121,4 +121,4 @@ "scripts": { | ||
"commitBranch": "develop", | ||
"commitSha": "5f536fef9b0962fef2373d07becba8313d5ef126", | ||
"commitDate": "2023-01-03T19:45:51.000Z", | ||
"commitSha": "094e3d03cc9f379965a7f0fb09a9e1cf44992014", | ||
"commitDate": "2023-01-24T16:02:45.000Z", | ||
"stable": true | ||
@@ -125,0 +125,0 @@ }, |
@@ -1323,3 +1323,3 @@ /// <reference types="cypress" /> | ||
}>; | ||
declare function mount<T extends DefineComponent<any, any, any, any>>(component: T, options?: ComponentMountingOptions<T>): Cypress.Chainable<{ | ||
declare function mount<T extends DefineComponent<any, any, any, any, any>>(component: T, options?: ComponentMountingOptions<T>): Cypress.Chainable<{ | ||
wrapper: VueWrapper<InstanceType<T>>; | ||
@@ -1329,5 +1329,5 @@ component: VueWrapper<InstanceType<T>>['vm']; | ||
declare function mount<Props = {}, RawBindings = {}, D extends {} = {}, C extends ComputedOptions = {}, M extends Record<string, Function> = {}, E extends EmitsOptions = Record<string, any>, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, EE extends string = string>(componentOptions: ComponentOptionsWithoutProps<Props, RawBindings, D, C, M, E, Mixin, Extends, EE>, options?: MountingOptions<Props & PublicProps, D>): Cypress.Chainable<{ | ||
wrapper: VueWrapper<ComponentPublicInstance<Props, RawBindings, D, C, M, E, VNodeProps & Props>>; | ||
component: VueWrapper<ComponentPublicInstance<Props, RawBindings, D, C, M, E, VNodeProps & Props>>['vm']; | ||
}> & Record<string, any>; | ||
wrapper: VueWrapper<ComponentPublicInstance<Props, RawBindings, D, C, M, E, VNodeProps & Props>> & Record<string, any>; | ||
component: VueWrapper<ComponentPublicInstance<Props, RawBindings, D, C, M, E, VNodeProps & Props>> & Record<string, any>['vm']; | ||
}>; | ||
declare function mount<PropNames extends string, RawBindings, D extends {}, C extends ComputedOptions = {}, M extends Record<string, Function> = {}, E extends EmitsOptions = Record<string, any>, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, EE extends string = string, Props extends Readonly<{ | ||
@@ -1334,0 +1334,0 @@ [key in PropNames]?: any; |
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5468602
139329
19