Commit Graph

27 Commits

Author SHA1 Message Date
Tobias Koppers 2fe82af05d Suggest course of action 2017-03-24 22:29:55 +01:00
Tobias Koppers 10c44e5a94 fix extra newline in validation 2017-03-22 12:24:18 +01:00
Tobias Koppers fbf84d51f2 allow to apply plugins to child compiler
allow to match on compiler name in rules

#4177
2017-02-22 11:49:49 +01:00
Tobias Koppers 2932a5aa00 Merge pull request #4051 from shubheksha/refactor-test-Validation
refactor(ES6): Validation.test.js
2017-02-09 23:36:21 +01:00
Tim Sebastian b32054d4c0 rename `non-absolut` to `relative` 2017-02-10 07:47:46 +11:00
Tim Sebastian 8ecae31c67 clean up schema check output by adding absolutePath explicitly to WebpackOptionsValidationError 2017-02-08 22:54:55 +11:00
Tim Sebastian 7d0a442183 add two tests for non-absolute and absolute paths check 2017-02-04 00:49:38 +11:00
Shubheksha Jalan 83a084c43f refactor(ES6): Validation.test.js 2017-02-03 14:21:25 +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
songawee fe217ab7e7 refactor of ValidateSchema and Validation.test to es6 2017-01-21 10:43:22 -07:00
Naoyuki Kanezawa a22b00e23d Dynamic entry support (#3634)
* enable to set a function to entry option

* add tests for entry function

* fix style

* fix identifier and readableIdentifier of MultiModule

* use arrow functions

* use arrow function

* remove incorrect new operators

* fix Validation tests
2017-01-09 01:31:49 -06:00
Eduard Kyvenko 29a1b54564 Added better validation for entry in option schema (#3567)
Added better validation for entry in option schema (#3567)

* Added better validation for entry in option schema

* Fixed option validation schema

* Improved error reporting for empty entry bundle

* Added a test for empty entry bundle
2017-01-03 23:23:57 -06:00
Tobias Koppers 9598f6484e add another test case 2016-12-14 13:34:30 +01:00
Tobias Koppers 3c1086303f Improve validation errors 2016-12-14 11:34:57 +01:00
Sean Larkin 000dae1889 fix(tests): Updated tests across the board to work with perf budgets 2016-12-07 17:22:13 +01:00
Tobias Koppers efa3fc058b added resourceQuery condition
added function use to schema
2016-11-23 12:12:32 +01:00
Kees Kluskens 9158378f44 ... and update tests too 2016-11-04 00:31:49 +01:00
Kees Kluskens c8fd638036 Fix validation schema accepting invalid values when `instanceof` is used 2016-11-03 23:52:59 +01:00
Kostas Manionis 36b7f21b92 Fix plugin typos in options validation 2016-09-28 13:54:46 +03:00
Tobias Koppers 99a34ccb8a fix test 2016-09-21 17:44:57 +02:00
Tobias Koppers c231fe3e9d fixed Validation message 2016-09-21 17:27:07 +02:00
Tobias Koppers a9d0319a40 beautify 2016-09-20 20:54:09 +02:00
Tobias Koppers 28498b7376 fixed max line length 2016-09-20 20:29:07 +02:00
Tobias Koppers 7f31a49581 special error message for custom properties in configuration 2016-09-20 20:18:52 +02:00
Tobias Koppers a6a389c5c0 fixed order in test 2016-09-20 19:53:42 +02:00
Tobias Koppers 8c3d97d933 add test
better error messages
validate array
more options in schema
stricter schema
fix some old configs
2016-09-19 00:54:35 +02:00