Skip to content

Commit

Permalink
fix: fix regression in npm/vue (#23954)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiller1990 committed Sep 23, 2022
1 parent 17556de commit 78779a2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions npm/vue/cypress/component/smoke.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { mount } from '@cypress/vue'
import { h, defineComponent } from 'vue'

describe('smoke test', () => {
it('mounts with no options', () => {
const comp = defineComponent({
setup () {
return () => h('div', 'hello world')
},
})

mount(comp)

cy.get('div').contains('hello world')
})
})
2 changes: 1 addition & 1 deletion npm/vue/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export function mount<
>

// implementation
export function mount (componentOptions: any, options: any) {
export function mount (componentOptions: any, options: any = {}) {
// TODO: get the real displayName and props from VTU shallowMount
const componentName = getComponentDisplayName(componentOptions)

Expand Down
1 change: 1 addition & 0 deletions packages/graphql/schemas/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,7 @@ enum ErrorTypeEnum {
BAD_POLICY_WARNING_TOOLTIP
BROWSER_NOT_FOUND_BY_NAME
BROWSER_NOT_FOUND_BY_PATH
BROWSER_UNSUPPORTED_LAUNCH_OPTION
BUNDLE_ERROR
CANNOT_CONNECT_BASE_URL
CANNOT_CONNECT_BASE_URL_RETRYING
Expand Down

4 comments on commit 78779a2

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 78779a2 Sep 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.9.0/linux-x64/develop-78779a2db13ca6555a6b830dbabeefd3d37bbfe5/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 78779a2 Sep 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.9.0/linux-arm64/develop-78779a2db13ca6555a6b830dbabeefd3d37bbfe5/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 78779a2 Sep 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.9.0/darwin-arm64/develop-78779a2db13ca6555a6b830dbabeefd3d37bbfe5/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 78779a2 Sep 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/10.9.0/darwin-x64/develop-78779a2db13ca6555a6b830dbabeefd3d37bbfe5/cypress.tgz

Please sign in to comment.