Skip to content

Commit

Permalink
fix Validation test
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Sep 21, 2018
1 parent c768182 commit 62b6142
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions test/Validation.test.js
Expand Up @@ -252,9 +252,13 @@ describe("Validation", () => {
}
},
message: [
' - configuration.output.filename: A relative path is expected. However, the provided value "/bar" is an absolute path!',
" - configuration.output.filename should be one of these:",
" string | function",
" -> Specifies the name of each output file on disk. You must **not** specify an absolute path here! The `output.path` option determines the location on disk the files are written to, filename is used solely for naming the individual files.",
" Please use output.path to specify absolute path and output.filename for the file name."
" Details:",
' * configuration.output.filename: A relative path is expected. However, the provided value "/bar" is an absolute path!',
" Please use output.path to specify absolute path and output.filename for the file name.",
" * configuration.output.filename should be an instance of function"
]
},
{
Expand Down Expand Up @@ -368,9 +372,6 @@ describe("Validation", () => {
" * configuration.plugins[0] misses the property 'apply'.",
" function",
" -> The run point of the plugin, required method.",
" * configuration.plugins[0] misses the property 'apply'.",
" function",
" -> The run point of the plugin, required method.",
" * configuration.plugins[0] should be an instance of function",
" -> Function acting as plugin"
]
Expand Down

0 comments on commit 62b6142

Please sign in to comment.