Commit Graph

4 Commits

Author SHA1 Message Date
Mohsen Azimi 7b07a8db66 Upgrade to Prettier 2 2020-03-28 18:20:24 -04:00
Tobias Koppers 94d17681c4 resolve linting issues in test/helpers 2019-08-22 13:26:45 +02:00
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
Alistair Brown b25189a8b6 Add tests for RequireJsStuffPlugin (#3702) 2017-01-03 13:08:15 -06:00