FormidableLabs / FormidableLabs/webpack-stats-plugin

Test: Add webpack unit tests.

Open
#61 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
357
Forks
26
PR merge metrics
No merged PRs in 30d

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 --watch` regression for https://github.com/FormidableLabs/webpack-stats-plugin/pull/60 (add some `sinon.spy()` on the hooks in webpack4 vs webpack5).
- ... ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.