Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump the dependencies group across 1 directory with 2 updates #623

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 27, 2024

Bumps the dependencies group with 2 updates in the / directory: redux-mock-store and cypress.

Updates redux-mock-store from 1.5.4 to 1.5.5

Release notes

Sourced from redux-mock-store's releases.

v1.5.5 - Deprecation

This patch release deprecates the configureStore method, as this package does not align with the Redux team's recommended testing practices. Instead, we recommend testing with a real store.

Testing with a mock store leads to potentially confusing behaviour, such as state not updating when actions are dispatched. Additionally, it's a lot less useful to assert on the actions dispatched rather than the observable state changes.

You can test the entire combination of action creators, reducers, and selectors in a single test, for example:

it('should add a todo', () => {
  const store = makeStore() // a user defined reusable store factory
store.dispatch(addTodo('Use Redux'))
expect(selectTodos(store.getState())).toEqual([
{ text: 'Use Redux', completed: false }
])
})

This avoids common pitfalls of testing each of these in isolation, such as mocked state shape becoming out of sync with the actual application.

legacy_configureStore

We recognise that for many codebases, migration will be a major effort that some may not be able to allocate time for. The @deprecated tag is just a visual strikethrough, but some tools will add extra warnings when it is used.

We now have a legacy_configureStore export (similar to legacy_createStore in Redux core) which is the same function but without this tag. You can change any imports to use this if the deprecation notice presents significant issues for you.

- import configureStore from "redux-mock-store"
+ import { legacy_configureStore as configureStore } from "redux-mock-store"
// or

import { configureStore } from "redux-mock-store"


import { legacy_configureStore as configureStore } from "redux-mock-store"

Full Changelog: reduxjs/redux-mock-store@v1.5.4...v1.5.5

Commits
Maintainer changes

This version was pushed to npm by eskimojo, a new releaser for redux-mock-store since your current version.


Updates cypress from 13.10.0 to 13.16.0

Release notes

Sourced from cypress's releases.

v13.16.0

Changelog: https://docs.cypress.io/guides/references/changelog#13-16-0

v13.15.2

Changelog: https://docs.cypress.io/guides/references/changelog#13-15-2

v13.15.1

Changelog: https://docs.cypress.io/guides/references/changelog#13-15-1

v13.15.0

Changelog: https://docs.cypress.io/guides/references/changelog#13-15-0

v13.14.2

Changelog: https://docs.cypress.io/guides/references/changelog#13-14-2

v13.14.1

Changelog: https://docs.cypress.io/guides/references/changelog#13-14-1

v13.14.0

Changelog: https://docs.cypress.io/guides/references/changelog#13-14-0

v13.13.3

Changelog: https://docs.cypress.io/guides/references/changelog#13-13-3

v13.13.2

Changelog: https://docs.cypress.io/guides/references/changelog#13-13-2

v13.13.1

Changelog: https://docs.cypress.io/guides/references/changelog#13-13-1

v13.13.0

Changelog: https://docs.cypress.io/guides/references/changelog#13-13-0

v13.12.0

Changelog: https://docs.cypress.io/guides/references/changelog#13-12-0

v13.11.0

Changelog: https://docs.cypress.io/guides/references/changelog#13-11-0

Commits
  • 5c21c4b chore: release 13.16.0 (#30650)
  • 6e523b0 chore(deps): update dependency cypress-example-kitchensink to 3.1.2 (#30640)
  • 82f45c5 feat: added ability to specify the default browser in cypress config (#30517)
  • 4bf8e58 fix: ensure that each js file served up by vite dev server has an inline sour...
  • 50db03b docs: add contributing restriction for ubuntu 24.10 (#30617)
  • 0975b2f feat: update the protocol to be able to flex logic based on project config (#...
  • 8fe4499 chore: Update Chrome (stable) to 131.0.6778.69 (#30608)
  • 0b0143a chore: update v8 snapshot cache action to not squash merge on conflicts (#30598)
  • 55888e8 chore: Update Chrome (beta) to 131.0.6778.33 (#30573)
  • 52da561 chore: Update v8 snapshot cache - windows (#30570)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot requested a review from a team as a code owner November 27, 2024 12:25
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 27, 2024
…dates

Bumps the dependencies group with 2 updates in the / directory: [redux-mock-store](https://github.com/arnaudbenard/redux-mock-store) and [cypress](https://github.com/cypress-io/cypress).


Updates `redux-mock-store` from 1.5.4 to 1.5.5
- [Release notes](https://github.com/arnaudbenard/redux-mock-store/releases)
- [Commits](reduxjs/redux-mock-store@v1.5.4...v1.5.5)

Updates `cypress` from 13.10.0 to 13.16.0
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](cypress-io/cypress@v13.10.0...v13.16.0)

---
updated-dependencies:
- dependency-name: redux-mock-store
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/dependencies-48f72ec7b6 branch from 10d2b15 to 0116e79 Compare December 4, 2024 01:51
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 8, 2024

Superseded by #631.

@dependabot dependabot bot closed this Dec 8, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dependencies-48f72ec7b6 branch December 8, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants