Skip to content

Commit

Permalink
Merge pull request #20142 from cypress-io/9b967e06f5-master-into-develop
Browse files Browse the repository at this point in the history
chore: merge master (9b967e0) into develop
  • Loading branch information
Blue F authored Feb 14, 2022
2 parents a3f0d63 + 2bad703 commit dff45ca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion npm/react/examples/react-scripts/cypress/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const devServer = require('@cypress/react/plugins/react-scripts')
* @type {Cypress.PluginConfig}
*/
module.exports = (on, config) => {
devServer(on, config)
devServer(on, config, {})

// IMPORTANT to return the config object
// with the any changed environment variables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ const { getTranspileFolders } = require('../utils/get-transpile-folders')
const { addFolderToBabelLoaderTranspileInPlace } = require('../utils/babel-helpers')
const { reactScriptsFiveModifications, isReactScripts5 } = require('../../dist/react-scripts/reactScriptsFive')

module.exports = function findReactScriptsWebpackConfig (config, {
webpackConfigPath,
} = { webpackConfigPath: 'react-scripts/config/webpack.config' }) {
module.exports = function findReactScriptsWebpackConfig (config, devServerOptions) {
const webpackConfigPath = (devServerOptions && devServerOptions.webpackConfigPath)
? devServerOptions.webpackConfigPath
: 'react-scripts/config/webpack.config'

// this is required because
// 1) we use our own HMR and we don't need react-refresh transpiling overhead
// 2) it doesn't work with process.env=test @see https://github.com/cypress-io/cypress-realworld-app/pull/832
Expand Down
2 changes: 1 addition & 1 deletion npm/vue/src/shims-vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ declare module '*.vue' {
import { DefineComponent } from 'vue'
const component: DefineComponent<{}, {}, any>
export default component
}
}

3 comments on commit dff45ca

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on dff45ca Feb 14, 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/9.5.0/linux-x64/circle-develop-dff45ca030532159a6e738866a38a008d0727d60/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on dff45ca Feb 14, 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 win32 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/9.5.0/win32-x64/circle-develop-dff45ca030532159a6e738866a38a008d0727d60/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on dff45ca Feb 14, 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/9.5.0/darwin-x64/circle-develop-dff45ca030532159a6e738866a38a008d0727d60/cypress.tgz

Please sign in to comment.