Tobias Koppers
523ddd7220
avoid memory leak
2018-10-24 15:30:33 +02:00
Tobias Koppers
f5be9a62d4
update watch test cases for new jest integration
2018-08-02 16:58:41 +02:00
Tobias Koppers
01cfe5b67a
improve way of adding exported tests to test tree
2018-08-02 14:45:50 +02:00
Tobias Koppers
5c4ffd5b90
fix tests and code
2018-06-28 11:11:24 +02:00
Florent Cailhol
4e15f64402
Add optional catch binding support
2018-06-06 21:30:53 +02:00
Tobias Koppers
db668b7549
move fake document to ConfigTestCases
...
minor style issues
add test case
2018-06-04 17:49:55 +02:00
Bazyli Brzóska
96a5fa50f0
FakeDocument: make autoloading optional
2018-04-19 15:54:09 +02:00
Bazyli Brzóska
ee42520072
FakeDocument: fix hanging rejection in tests from unimplemented parts
2018-04-18 21:10:21 +02:00
Bazyli Brzóska
2be0965f96
Merge branch 'master' of https://github.com/webpack/webpack into jest
...
# Conflicts:
# package.json
# test/ConfigTestCases.test.js
# yarn.lock
2018-04-18 19:54:24 +02:00
Tobias Koppers
57e09a67a1
add test for prefetch, preload and script loading jsonp runtime
2018-04-16 17:43:45 +02:00
Florent Cailhol
e6562319fe
Move prepareOptions to test helpers
2018-04-14 21:46:33 +02:00
Bazyli Brzóska
3e7c139a1e
tests: extract remove to helpers
2018-03-07 01:14:56 +01:00
Tobias Koppers
b0949cb2d2
add integration test for spread operator
2018-02-24 13:12:38 +01: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
Tobias Koppers
003d8a5f33
filter wasm tests in older node.js versions
2017-11-11 19:41:55 +01:00
Tobias Koppers
0c104a683f
separate integration and unit tests, use codecov flags
2017-10-19 17:35:20 +02:00
Tobias Koppers
0975d13da7
assign correct cache to child compilation
...
fixes webpack-contrib/extract-text-webpack-plugin#612
2017-09-13 16:29:37 +02:00
Tobias Koppers
e4b8833128
improve code coverage
2017-04-13 12:37:30 +02:00
Tobias Koppers
21aa837eb2
walk variable patterns for parsed stuff
...
fixes #4357
2017-02-23 23:06:05 +01:00
Alistair Brown
af00214583
Add tests for CachePlugin ( #3840 )
2017-01-07 20:11:53 -06:00
Alistair Brown
ecb63b9742
Add maintemplateplugin tests ( #3839 )
...
* Add tets for AmdMainTemplatePlugin
* Add tests for JsonpExportMainTemplatePlugin
2017-01-07 18:05:19 -06:00
Alistair Brown
81a7f7f4bf
Add tests for LibraryTemplatePlugin ( #3835 )
2017-01-07 14:27:22 -06:00
Alistair Brown
b25189a8b6
Add tests for RequireJsStuffPlugin ( #3702 )
2017-01-03 13:08:15 -06:00
Alistair Brown
ef05c31513
Add tests for SourceMapDevToolModuleOptionsPlugin
2017-01-02 18:53:48 +00:00
Sean Larkin
f0fd4eca48
add correct arrow function helper
2016-12-23 03:13:15 -06:00
Diogo Franco (Kovensky)
52d8fbc8c1
Add test cases
2016-11-21 08:37:22 +09:00
Tobias Koppers
aefe8d67a3
support desctruction for variable declaration
...
fixes #3273
2016-11-14 00:23:50 +01:00
zhaoshengjun
67b2f59ce5
chore(): Refactor code and fix test filter
2016-11-09 22:20:12 +10:00
zhaoshengjun
3ca9718ec4
add testing file
2016-11-09 13:31:21 +10:00
Tobias Koppers
bbd6eb77e9
Merge pull request #3250 from Kovensky/issue-3238
...
Fix issue #3238
2016-11-08 17:39:50 +01:00
Diogo Franco (Kovensky)
ff2342001a
Add a filter to issue-2895
...
Skips the test in Node 0.12, which doesn't support const.
2016-11-08 20:51:27 +09:00
Diogo Franco (Kovensky)
1e7bbfef0f
Add a test filter to skip platforms where it would crash
2016-11-08 20:08:55 +09:00
Tobias Koppers
f6efe19d06
added support for default arguments
...
fixes #2622
2016-06-16 01:05:17 +02:00
Tobias Koppers
dac1354c14
test infrastructure improvements
2016-06-04 14:47:20 +02:00