We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67a2786 commit cd92a24Copy full SHA for cd92a24
test/validate.js
@@ -113,10 +113,17 @@ describe('YAML Samples', function() {
113
before(function(done) {
114
setupValidators(done);
115
})
116
+ exclusions = ["./examples/v2.0/yaml/petstore-separate/common/Error.yaml",
117
+ "./examples/v2.0/yaml/petstore-separate/spec/NewPet.yaml",
118
+ "./examples/v2.0/yaml/petstore-separate/spec/Pet.yaml",
119
+ "./examples/v2.0/yaml/petstore-separate/spec/parameters.yaml"]
120
+
121
files = glob.sync("./examples/**/*.yaml")
122
validators.forEach(function(validator) {
123
files.forEach(function(file) {
- createYAMLTest(file, validator);
124
+ if (exclusions.indexOf(file) == -1) {
125
+ createYAMLTest(file, validator);
126
+ }
127
128
129
0 commit comments