Skip to content

Commit 9598f64

Browse files
committed
add another test case
1 parent 4e3ef7a commit 9598f64

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

test/Validation.test.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,20 @@ describe("Validation", function() {
130130
" })",
131131
" ]"
132132
]
133+
}, {
134+
name: "enum",
135+
config: {
136+
entry: "a",
137+
devtool: true
138+
},
139+
message: [
140+
" - configuration.devtool should be one of these:",
141+
" string | false",
142+
" A developer tool to enhance debugging.",
143+
" Details:",
144+
" * configuration.devtool should be a string.",
145+
" * configuration.devtool should be false"
146+
]
133147
}];
134148
testCases.forEach(function(testCase) {
135149
it("should fail validation for " + testCase.name, function() {

0 commit comments

Comments
 (0)