Test: Add webpack unit tests.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- build-system, testing
Research direction
Review the existing E2E tests that invoke webpack live or against previous builds, then identify how webpack() can run in memory. Define unit coverage for the webpack --watch regression using sinon.spy() on webpack 4 and webpack 5 hooks, and clarify additional cases before implementation. Done means the agreed in-memory unit tests cover the regression and pass for both webpack versions.
Written by the indexing model from the issue text.
Description
Currently our tests just do E2E testing invoking webpack live or for previous builds. We should consider adding unit tests with running webpack() in memory for things like:
webpack --watchregression for https://github.com/FormidableLabs/webpack-stats-plugin/pull/60 (add somesinon.spy()on the hooks in webpack4 vs webpack5).- ... ?
- Dominant language
- JavaScript
- Stars
- 357
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from FormidableLabs/webpack-stats-plugin
-
unverified
Difficulty 4/5 3-5 days Newbie friendliness 35/100
FormidableLabs/webpack-stats-plugin#109 · 2 comments ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
FormidableLabs/webpack-stats-plugin#43 · 1 comment · 1 reaction ·
All issues in FormidableLabs/webpack-stats-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·