Commit Graph

67 Commits

Author SHA1 Message Date
Tobias Koppers b89853ea12 fix Compiler logging test 2019-08-01 14:04:22 +02:00
Tobias Koppers 7b31890a2f more tests
add none as loglevel
2019-07-22 10:35:26 +02:00
Tobias Koppers b6138c18a1 add infrastructure test 2019-07-22 09:22:51 +02:00
Tobias Koppers 75a9a515fd fix prettierignore file and run prettier 2019-02-18 09:23:08 +01:00
Shah Kashani 217b2ad7e2 Fix for #8398 - call failed-hook on compilation errors 2018-11-21 11:16:25 -05:00
Tobias Koppers 8256249703 longer timeouts for Compiler test 2018-10-24 15:56:50 +02:00
renatoagds 5e112dbfbe update watchMode tests 2018-10-23 15:12:36 -03:00
renatoagds 22553427d4 fix prettier lint 2018-10-22 20:12:42 -03:00
renatoagds b6dda49add check if watch mode is trigger when use watch 2018-10-22 20:01:07 -03:00
Tobias Koppers 753dcce188 fix order of occurrence order plugin
remove enforced additional occurrence order plugin from test cases
make test cases more independent of module/chunk order/ids
2018-07-13 16:15:01 +02:00
Tobias Koppers 2fa0ea62e7 add missing semicolon 2018-06-20 10:23:26 +02:00
Tobias Koppers 064967128e add test case for #7533 2018-06-19 21:41:23 +02:00
Florent Cailhol f63d6fa4bb Replace sinon by jest's mocks 2018-05-07 15:26:09 +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
Maksim e225d1005c Fix compiler tests 2018-03-07 12:16:40 +03:00
Maksim Nazarjev 81a1cd8caa Lint the tests 2018-03-07 01:31:14 +03:00
Maksim Nazarjev 07c1f6d86f Prevent webpack from running twice at a time 2018-03-07 00:56:31 +03:00
Bazyli Brzóska 36e8e30875 run prettier on existing code 2018-02-25 11:46:17 +01:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Florent Cailhol cd419d0546 Migrate integration tests to Jest 2018-01-24 17:29:57 +01:00
Tobias Koppers 2b33f647b1 remove bad unit tests 2018-01-03 18:07:40 +01:00
Tobias Koppers 08eb0fffb0
Merge pull request #6217 from ooflorent/move_watching
Move Watching to its own file
2018-01-02 09:37:50 +01:00
Florent Cailhol 0014042c53 Move Watching to its own file 2017-12-31 18:16:03 +01:00
Tobias Koppers 0abdc0aed0 add test case for no emit in watch mode 2017-12-31 09:59:12 +01:00
Tobias Koppers cf1d7b8949 `-!` keeps post loader instead of pre loader
add more test cases
2017-12-30 19:34:14 +01:00
Tobias Koppers 20678c6611
Merge pull request #6150 from webpack/bugfix/concat-unused-modules
fix unnecessary module concatenation
2017-12-21 08:46:36 +01:00
Florent Cailhol e58e1f9261 Use hooks in test cases 2017-12-21 07:17:27 +01:00
Tobias Koppers 878f2882ad update test cases for changed order 2017-12-20 20:41:22 +01:00
Tobias Koppers 2148f556a4 Enable minimizing in production mode 2017-12-14 00:06:56 +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 f55547ca6a Merge branch 'master' into next
# Conflicts:
#	lib/Compiler.js
2017-11-23 09:14:58 +01:00
EugeneHlushko f14c301dba Improvement: Ensure util.depracation use for deprecation warnings 2017-11-20 12:02:10 +02:00
Tobias Koppers 36544088b7 bugfix for changed API of options defaulter 2017-09-22 15:03:30 +02:00
Tobias Koppers 7387c50c3a change jsonp function to jsonp array push 2017-09-14 08:49:14 +02:00
Tobias Koppers 460e6b68e1 remove incorrect tests 2017-09-13 16:51:24 +02:00
Kyle Truong 4266ab86cd - Fix compiler test as discussed in PR 2017-07-07 09:11:15 -04:00
Kyle Truong 13bc80b1a4 - Put Watching as a property on Compiler rather than a static method 2017-07-07 09:11:15 -04:00
Kyle Truong 4378c92c60 - Add more tests 2017-07-07 09:11:15 -04:00
Kyle Truong bfd5ed9bfd - Fix linter issues 2017-07-07 09:11:15 -04:00
Kyle Truong f080ebe0ee - Add tests to Compiler and Watching 2017-07-07 09:11:15 -04:00
Tobias Koppers 890a507b08 optimize OccurenceOrderPlugin 2017-06-02 01:24:55 +02:00
Tobias Koppers 26f79f5b30 Merge branch 'master' into fix/node_modules_mangle 2017-04-11 08:40:15 +02:00
Tobias Koppers 951d066b51 fixup spacing 2017-02-28 18:26:49 +01:00
Tobias Koppers fb47ec670d fixup spacing 2017-02-28 18:25:41 +01:00
Tobias Koppers 918fd1d6ac fixup incorrect merge 2017-02-28 18:24:24 +01:00
Tobias Koppers 6763b3d7a8 Merge branch 'master' into refactor-test-Compiler 2017-02-28 18:23:24 +01:00
Tim Sebastian 842b6ccc0e remove trailing whitespace 2017-02-09 22:57:09 +11:00
Tobias Koppers fcb219d968 change output filesystem to be in memory and linux style 2017-02-09 12:28:26 +01:00
Tim Sebastian 8ccf068c59 fix linting issues of touched files 2017-02-02 22:56:41 +11:00
Tim Sebastian 3ba9ed99c0 fix existing tests that failed schema validaton 2017-02-02 22:36:15 +11:00