chore: remove rawJson from Cypress.state() (#23948)

This commit is contained in:
Emily Rohrbough
2022-10-12 09:22:05 -05:00
committed by GitHub
parent 13190c49bb
commit c2397e9bc2
2 changed files with 6 additions and 1 deletions

5
packages/CHANGELOG.md Normal file
View File

@@ -0,0 +1,5 @@
# Unreleased Cypress App Changes
## Breaking
- Removed the `rawJson` configuration data from `Cypress.state()`. Addressed [#23945](https://github.com/cypress-io/cypress/issues/23945).

View File

@@ -219,7 +219,7 @@ class $Cypress {
// change this in the NEXT_BREAKING
const { env } = config
config = _.omit(config, 'env', 'remote', 'resolved', 'scaffoldedFiles', 'state', 'testingType', 'isCrossOriginSpecBridge')
config = _.omit(config, 'env', 'rawJson', 'remote', 'resolved', 'scaffoldedFiles', 'state', 'testingType', 'isCrossOriginSpecBridge')
_.extend(this, browserInfo(config))