Commit Graph

42 Commits

Author SHA1 Message Date
Tobias Koppers 795cc352c5 Improve error reporting while recompilation in HotCases 2018-08-03 08:10:53 +02:00
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 720f3b271a make hot cases better 2018-06-25 18:39:59 +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 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 dc6d02cec1 add CI logging during compilation execution 2018-04-19 11:52:59 +02:00
Bazyli Brzóska 9b0bff8cdd increase timeouts to address multi-threaded failures on CI 2018-04-18 21:17:12 +02:00
Bazyli Brzóska eb168d5e56 reformat HotTestCases
adds braces https://github.com/webpack/webpack/pull/6565#discussion_r173096042
also run prettier on the file
2018-04-10 22:47:45 +02:00
Bazyli Brzóska b579658d22 Merge branch 'profiling-race' into jest
# Conflicts:
#	lib/debug/ProfilingPlugin.js
#	test/ConfigTestCases.test.js
#	test/DependenciesBlockVariable.unittest.js
#	test/Examples.test.js
#	test/ExternalModule.unittest.js
#	test/HotTestCases.test.js
#	test/Schemas.lint.js
#	test/WebEnvironmentPlugin.unittest.js
#	test/cases/mjs/non-mjs-namespace-object-lazy/index.js
#	test/cases/runtime/module-caching/index.js
#	test/compareLocations.unittest.js
#	test/configCases/library/1-use-library/index.js
#	test/configCases/plugins/define-plugin/index.js
#	yarn.lock
2018-03-07 21:56:06 +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
Tobias Koppers 1248616af0
convert arrow function to normal function 2018-03-05 09:31:37 +01:00
Tobias Koppers e12f414a15 larger timeouts to make CI more stable 2018-03-04 10:12:51 +01:00
Bazyli Brzóska 36e8e30875 run prettier on existing code 2018-02-25 11:46:17 +01:00
Bazyli Brzóska 7b5c3516f6 Merge branch 'v4-beta3' into jest
# Conflicts:
#	test/BenchmarkTestCases.benchmark.js
#	test/CachePlugin.unittest.js
#	test/HotTestCases.test.js
#	test/NormalModule.unittest.js
#	test/ProfilingPlugin.unittest.js
#	test/TestCases.test.js
#	test/configCases/parsing/harmony-this/index.js
#	test/configCases/plugins/profiling-plugin/index.js
#	test/configCases/plugins/profiling-plugin/webpack.config.js
#	test/watchCases/runtime/static-import/0/index.js
#	yarn.lock
2018-02-25 11:41:05 +01:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Bazyli Brzóska b2c54f176e migrate away from forced tests to a beforeAll hook 2018-02-25 01:18:51 +01:00
Florent Cailhol f072fd2978 Set Hot test cases timeout to 5s 2018-02-07 10:44:15 +01:00
Bazyli Brzóska 009772cb20 jest migration: use forced tests 2018-01-26 22:26:41 +01:00
Florent Cailhol 998f768d18 Migrate HotTestCases to Jest 2018-01-24 23:31:56 +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 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 a4d63e4051 remove loader context options, add rootContext 2017-09-14 09:19:21 +02:00
Tobias Koppers 0ea37a5485 Disallow Scope Hoisting when using HMR
fixes #5504
2017-08-12 11:00:55 +02:00
Tobias Koppers 732c85c7dc fix extract-text-plugin arguments 2017-07-24 12:56:00 +02:00
Tobias Koppers 231a419c48 Merge pull request #4017 from shubheksha/refactor-test-HotTestCases
refactor(ES6): HotTestCases.test.js
2017-02-28 12:56:20 +01:00
Tobias Koppers 8f9b4721eb replace loader with use for the ETP 2017-02-15 14:38:19 +01:00
Tobias Koppers 5a135a7264 updated api for extract-text-webpack-plugin 2017-02-13 12:33:49 +01:00
Shubheksha Jalan 1f3bb04f41 refactor(ES6): HotTestCases.test.js 2017-01-18 16:14:11 +05:30
Tobias Koppers ea3b2303a8 fixes an error where errors are not cleared in cached module 2016-12-16 19:12:47 +01:00
Tobias Koppers 808b32ac61 added test cases for extract-text-plugin 2016-09-19 21:13:32 +02:00
Gajus Kuizinas ccf9da2171 fix: use LoaderOptionsPlugin to set updateIndex 2016-09-17 20:21:07 +01:00
Tobias Koppers 1ee3585fa1 compilation error don't affect parent module
recover after syntax error
assume es6 module on syntax error

#2117
2016-07-03 13:13:01 +02:00
Tobias Koppers 1cd6c4eeba better error messages in HMR
events for ignored updates
warnings to console when updates are ignored
2016-06-24 11:17:25 +02:00
Tobias Koppers 7fa28860fd test bug fix to ensure clean records 2016-06-04 17:30:10 +02:00
Tobias Koppers 1c8fc31ba7 increased timeout for tests 2015-11-20 20:14:49 +01:00
Tobias Koppers c94f4df3b4 beautify 2015-11-01 18:25:42 +01:00
Tobias Koppers 358c457d8c added first HMR test case 2015-11-01 16:11:35 +01:00