quasarframework / quasarframework/quasar-testing

Abstract common code to shared package

Open
#238 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement structure
Dominant language
TypeScript
Stars
184
Forks
67
Avg merge
20h 53m
Merged PRs (30d)
5

Description

Some helpers are copy/pasted into multiple AEs, we should move them into a shared package

  • installQuasarPlugin: used both by Jest and Cypress Component Testing, possibly used by Vitest when/if we add it
  • __mergeDeep: it's currently copy/pasted around, we could also check if there's an easy existing substitute, eg. one of lodash functions

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the copies of installQuasarPlugin and __mergeDeep used by the Jest and Cypress Component Testing AEs, then compare their behavior and package boundaries. Check whether an existing lodash merge utility is suitable; done means the duplicated helpers are provided through a shared package without changing the affected test runners.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, typescript
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.