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: Move what-is-circular dep within Cypress repo #29530

Merged
merged 3 commits into from
May 17, 2024

Conversation

jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented May 16, 2024

Additional details

This moves the code from the https://github.com/cypress-io/what-is-circular directly into Cypress.

The https://github.com/cypress-io/what-is-circular repo was a fork of https://github.com/flotwig/what-is-circular which was inspired by https://github.com/tjmehta/is-circular/, but returns the path to the first circular reference found.

I think having this code directly in the repo is beneficial since it's a single file, has tests, and requires no maintenance on our part to run extra CI/release processes in a separate repo if a change is needed. It also deters outside users from including the package, creating an expectation for us to maintain it for them.

Steps to test

Unit tests transferred within utils that should run in the driver tests. Other tests should pass.

How has the user experience changed?

N/A

PR Tasks

@jennifer-shehane jennifer-shehane self-assigned this May 16, 2024
@@ -0,0 +1,26 @@
const lodash = require('lodash')
Copy link
Member Author

Choose a reason for hiding this comment

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

@@ -0,0 +1,192 @@
import { whatIsCircular } from '../../../src/util/what-is-circular'
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link

cypress bot commented May 16, 2024

Passing run #55457 ↗︎

0 101 0 0 Flakiness 0

Details:

Fix ts issue in what-is-circular
Project: cypress Commit: d01675b893
Status: Passed Duration: 15:07 💡
Started: May 16, 2024 6:17 PM Ended: May 16, 2024 6:32 PM

Review all test suite changes for PR #29530 ↗︎

@jennifer-shehane jennifer-shehane merged commit 3a00948 into develop May 17, 2024
81 of 82 checks passed
@jennifer-shehane jennifer-shehane deleted the move-what-is-circular-dep branch May 17, 2024 17:32
@cypress-bot
Copy link
Contributor

cypress-bot bot commented May 21, 2024

Released in 13.10.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v13.10.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators May 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants