webpack/test/helpers
Florent Cailhol fa72f1f124 Improve `PluginEnvironment` helper to support tapable's hooks
Test cases use `PluginEnvironment` to monitor plugins' actions.
Before this change, it only mocked `.plugin()` which is not enough
to test plugins written using `Tapable#hooks`.

This implementation uses a `Proxy` to trap hook calls and log them
as events.
2017-12-06 15:12:41 +01:00
..
PluginEnvironment.js Improve `PluginEnvironment` helper to support tapable's hooks 2017-12-06 15:12:41 +01:00
TemplatePluginEnvironment.js Add maintemplateplugin tests (#3839) 2017-01-07 18:05:19 -06:00
applyPluginWithOptions.js Add tests for CachePlugin (#3840) 2017-01-07 20:11:53 -06:00
currentWatchStep.js assign correct cache to child compilation 2017-09-13 16:29:37 +02:00
exec-in-directory.js separate integration and unit tests, use codecov flags 2017-10-19 17:35:20 +02:00
supportDefaultAssignment.js chore(): Refactor code and fix test filter 2016-11-09 22:20:12 +10:00
supportsArrowFunctionExpression.js add correct arrow function helper 2016-12-23 03:13:15 -06:00
supportsBlockScoping.js Add a filter to issue-2895 2016-11-08 20:51:27 +09:00
supportsDefaultArgs.js added support for default arguments 2016-06-16 01:05:17 +02:00
supportsES6.js test infrastructure improvements 2016-06-04 14:47:20 +02:00
supportsForOf.js improve code coverage 2017-04-13 12:37:30 +02:00
supportsIteratorDestructuring.js Add a test filter to skip platforms where it would crash 2016-11-08 20:08:55 +09:00
supportsObjectDestructuring.js walk variable patterns for parsed stuff 2017-02-23 23:06:05 +01:00
supportsTemplateStrings.js Add test cases 2016-11-21 08:37:22 +09:00
supportsWebAssembly.js filter wasm tests in older node.js versions 2017-11-11 19:41:55 +01:00