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

refactor: tests/integration/600.framework detection.test.cjs #5921

Conversation

hereje
Copy link
Contributor

@hereje hereje commented Aug 3, 2023

🎉 Thanks for submitting a pull request! 🎉

Summary

  • refactor: move and rename test file
  • refactor: convert file to esm
  • refactor: replace ava with vitest
  • refactor: replace got with node-fetch
  • style: apply lint rules

Related to #5698


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures your code follows our style guide and
    passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

hereje added 5 commits August 3, 2023 14:07
- convert file to esm
- adjust file accordingly
- update snapshots
- replace ava with vitest
- run test concurrently
- update snapshots
@hereje hereje requested a review from a team as a code owner August 3, 2023 21:03
@github-actions
Copy link

github-actions bot commented Aug 3, 2023

📊 Benchmark results

Comparing with 8a65ef3

  • Dependency count: 1,668 (no change)
  • Package size: 497 MB (no change)

@sarahetter
Copy link
Contributor

Framework detection has changed, so there are conflicts.

- convert file to esm
- adjust file accordingly
- update snapshots
- replace ava with vitest
- run test concurrently
- update snapshots
…tion.test.cjs' of https://github.com/hereje/cli into refactor_test_esm/tests/integration/600.framework-detection.test.cjs
@hereje hereje requested review from a team as code owners September 27, 2023 00:53
@sarahetter
Copy link
Contributor

Another one with a weird diff

ericapisani added a commit that referenced this pull request Oct 27, 2023
kodiakhq bot pushed a commit that referenced this pull request Oct 30, 2023
* refactor: convert functions/telemetry to ESM

* refactor: convert commitlint config file

* refactor: convert local-ip.mjs

* refactor: convert 600.framework-detection test to ESM

* refactor: missed removing a require statement

* style: lint

* refactor: convert curl.cjs to ESM

* test: update file reference

* refactor: convert curl.cjs to ESM

* refactor: convert got.cjs to ESM

* refactor: convert cli-path to ESM

* fix: issues raised with linter

* refactor: convert tests/integration/utils/snapshots.cjs to ESM

* refactor: convert tests/integration/utils/mock-execa.cjs to ESM

* style: lint

* refactor: convert tests/integration/utils/external-server.cjs to ESM

* refactor: convert mock-api.cjs to ESM

* style: lint

* style: lint

* refactor: convert create-live-test-site to ESM

* refactor: convert utils/dev-server.cjs to ESM

* refactor: fix issues found by linter

* refactor: convert utils/handle-questons.cjs to ESM

* refactor: convert utils/process.cjs to ESM

* refactor: convert call-cli to ESM

* refactor: convert external-server-cli.cjs to ESM

* refactor: convert site-builder.cjs to ESM

* refactor: convert utils/pause.cjs to ESM

* fix: imports

* refactor: remove files that are no longer used

* style: lint issues

* refactor: update filenames

* test: fix import

* fix: import statement

* fix: import statement

* fix: more import statements

* fix: missed a file extension

* fix: specify default export

* fix: export

* test: see if removing the concurrency resolves the test server error

* test: remove unused variable

* test: try different approach to getting the dirname variable

* style: lint

* test: revert earlier change

* test: include changes from PR #5921

* style: lint

* fix: increase timeout

* test: add fetch method

* test: remove snapshot files that aren't used anymore

* test: try asserting substring rather than snapshot

* style: lint

* refactor: fix export

* Revert "refactor: fix export"

This reverts commit 55e97b6.

* test: fix snapshot test from docs change

* refactor: i need more coffee
@sarahetter
Copy link
Contributor

Closing as completed in #6092

@sarahetter sarahetter closed this Oct 30, 2023
@hereje hereje deleted the refactor_test_esm/tests/integration/600.framework-detection.test.cjs branch October 31, 2023 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants