Skip to content

Commit c2397e9

Browse files
chore: remove rawJson from Cypress.state() (#23948)
1 parent 13190c4 commit c2397e9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Unreleased Cypress App Changes
2+
3+
## Breaking
4+
5+
- Removed the `rawJson` configuration data from `Cypress.state()`. Addressed [#23945](https://github.com/cypress-io/cypress/issues/23945).

packages/driver/src/cypress.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class $Cypress {
219219
// change this in the NEXT_BREAKING
220220
const { env } = config
221221

222-
config = _.omit(config, 'env', 'remote', 'resolved', 'scaffoldedFiles', 'state', 'testingType', 'isCrossOriginSpecBridge')
222+
config = _.omit(config, 'env', 'rawJson', 'remote', 'resolved', 'scaffoldedFiles', 'state', 'testingType', 'isCrossOriginSpecBridge')
223223

224224
_.extend(this, browserInfo(config))
225225

0 commit comments

Comments
 (0)