Tobias Koppers
01cfe5b67a
improve way of adding exported tests to test tree
2018-08-02 14:45:50 +02:00
Tobias Koppers
a4825654eb
upgrade jest
2018-07-10 16:02:02 +02:00
Tobias Koppers
378f31b4f9
increase timeout for ConfigTestCases
2018-07-08 21:37:12 +02:00
Tobias Koppers
5c4ffd5b90
fix tests and code
2018-06-28 11:11:24 +02:00
Tobias Koppers
db668b7549
move fake document to ConfigTestCases
...
minor style issues
add test case
2018-06-04 17:49:55 +02:00
Tobias Koppers
4a541303c9
Upgrade jest
...
increase timeout
fix hanging
avoid inspector in CI
setup jest caching
2018-05-24 12:52:48 +02:00
Tobias Koppers
63a4145e3f
clear output directory on test start
2018-05-17 17:42:00 +02:00
Florent Cailhol
f63d6fa4bb
Replace sinon by jest's mocks
2018-05-07 15:26:09 +02:00
Tobias Koppers
908b4654bf
remove spammy output in CI
2018-04-30 17:26:37 +02:00
Bazyli Brzóska
002b04fe9c
no need for is-ci package + use stderr for live printing
2018-04-26 23:39:04 +02:00
Bazyli Brzóska
3655f05103
add a workaround for jest clearing up the wrong resource
2018-04-19 15:54:34 +02:00
Bazyli Brzóska
18813fc16b
tests: prepare the output directory before compiling
2018-04-19 12:54:24 +02:00
Bazyli Brzóska
dc6d02cec1
add CI logging during compilation execution
2018-04-19 11:52:59 +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
75253e7154
Merge branch 'master' of https://github.com/webpack/webpack into jest
...
# Conflicts:
# .eslintrc.js
# package.json
# test/BenchmarkTestCases.benchmark.js
# test/ConfigTestCases.test.js
# test/NodeWatchFileSystem.unittest.js
# test/TestCases.test.js
# test/WatcherEvents.test.js
# test/cases/parsing/extract-require/index.js
# test/configCases/parsing/harmony-this/index.js
# test/statsCases/async-commons-chunk/expected.txt
# yarn.lock
2018-04-10 23:36:20 +02:00
Bazyli Brzóska
aff29fe3ba
run prettier across the codebase
2018-04-10 22:52:22 +02:00
Tobias Koppers
06e9a5709b
get rid of webpackJsonp global leak
2018-03-24 12:08:37 +01:00
Bazyli Brzóska
3abb6e7939
jest: more fixes for running tests well
2018-03-07 00:16:19 +01:00
Bazyli Brzóska
49ff3d4e18
define tests asynchronously
2018-03-05 22:48:18 +01:00
Josh Soref
581069bb56
spelling: uncaught
2018-02-26 02:50:05 +00:00
Bazyli Brzóska
36e8e30875
run prettier on existing code
2018-02-25 11:46:17 +01:00
Tobias Koppers
f32bd41c52
fix linting
2018-02-25 02:15:37 +01:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Bazyli Brzóska
47a16ebea6
split TestCases into mulitple files for better batching in jest
2018-02-25 01:16:11 +01:00
Bazyli Brzóska
f0ef3fd6ae
add testConfig.timeout to ConfigTestCases
2018-01-27 16:34:51 +01:00
Bazyli Brzóska
37e002cd38
ConfigTextCases: add expect to globalContext
2018-01-27 16:04:17 +01:00
Bazyli Brzóska
009772cb20
jest migration: use forced tests
2018-01-26 22:26:41 +01:00
Tobias Koppers
18ae73dad4
Refactor chunk graph
...
Chunks are now always in ChunkGroups
ChunkGroups have parents and children, Chunks no longer have this
AsyncDependenciesBlocks point to a ChunkGroup instead of a list of chunks
Entrypoint is now a ChunkGroup (extends from it)
move stuff graph modification methods into GraphHelpers
Change chunk id recording to source-based
Chunks have parents, siblings and children in Stats
rename AutomaticCommonsChunksPlugin to SplitChunksPlugin
add request property to origin (ChunkGroup)
remove moveToParent from AggressiveMergingPlugin
fix issues with AggressiveSplittingPlugin
remove CommonsChunkPlugin
add optimization.runtimeChunk (RuntimeChunkPlugin)
fix a filename bug for initial chunks
remove extract-text-webpack-plugin from test suite
add DebugHash to help debugging hash issues
fix issues with entry modules in different chunk as runtime
redo optimization.splitChunks options
Compilation.entrypoints is now a Map
Compilation.chunkGroups has been added
remove some unittests
update examples
update tests with CommonsChunkPlugin
2018-01-19 19:21:30 +01:00
Tobias Koppers
0b26a6b777
disable minimizer for config test cases
2018-01-10 17:10:12 +01:00
Tobias Koppers
b824776c1b
better error reporting in config cases
2017-11-27 15:04:53 +01:00
Tobias Koppers
2201b860a5
Add mode option and choose defaults depending on mode
...
add optimization options
use development mode for watch/hot/config tests
use production mode for integration/stats tests
create output directory if not existing
move __esModule to runtime
fix dependency behavior for cases without usedExports
2017-11-24 08:17:17 +01:00
Tobias Koppers
5941ab0d0c
fix linting errors
2017-11-15 14:08:11 +01:00
Tobias Koppers
2919a9cd53
prevent crashing when error out early in bail mode
...
fixes #5787
2017-10-11 15:28:18 +02:00
Tobias Koppers
9357ae0254
Refactor precendence rules for harmony exports for better performance
...
fixes #5763
2017-10-09 15:28:59 +02:00
Anders D. Johnson
24ac48d2f5
feat: support config functions with multi-compiler
2017-07-01 13:28:20 -05:00
Shubheksha Jalan
0ae224335b
refactor(ES5): ConfigTestCases.test.js
2017-01-18 14:38:00 +05:30
Sean Larkin
56924c6f13
feat(test): increase coverage for target: 'webworker' ( #3204 )
...
* feat(test): increase coverage for target: 'webworker'
* fixed bad test cases, and added generic node shimming for web workers
2016-12-28 07:49:26 -06:00
Sean Larkin
c3bd0e2faa
dont poll config while filtering test suites
2016-12-23 00:17:57 -06:00
Sean Larkin
7973da8cf9
ensured that filter was excluding tests with arrow functions. finally 🐛
2016-12-23 00:10:06 -06:00
Sean Larkin
288111b018
extracted config gathering fn
2016-12-22 13:35:02 -06:00
Sean Larkin
2f8e3fcebb
fix(tests): add filter infra to ConfigTestCases
2016-12-22 13:29:03 -06:00
Sean Larkin
1999af3ef6
feature(alias): allow loader query to be used for aliased loader
2016-12-08 02:58:56 -06:00
Tobias Koppers
bb9d307b2e
fixed dll test cases
2016-09-21 17:26:25 +02:00
Tobias Koppers
9ccbd260b5
more info in tests stats.txt files
2016-09-07 09:46:27 +02:00
Tobias Koppers
c7261412cf
added test case for commons chunk plugin with umd library
...
#2066
2016-07-20 15:11:29 +02:00
Tobias Koppers
7109be58b3
detect main module more reliable
...
#2648
2016-06-16 01:05:17 +02:00
Tobias Koppers
f4d43024c3
increase timeout for tests
2016-05-27 11:04:37 +02:00
Tobias Koppers
5aa5ca6961
added test case for DllPlugin and chunks in dlls
...
#1948
2016-01-30 11:43:53 +01:00