Skip to content

Commit

Permalink
fix skip test
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Oct 19, 2019
1 parent 38393b8 commit e5db0a1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/response.validator.spec.ts
Expand Up @@ -9,9 +9,6 @@ const apiSpecPath = path.join('test', 'resources', 'response.validation.yaml');
const apiSpec = jsyaml.safeLoad(fs.readFileSync(apiSpecPath, 'utf8'));

describe(packageJson.name, () => {
// TODO
it.skip('should always return valid for non-JSON responses', async () => {});

it('should validate the using default (in this case the error object)', async () => {
const v = new ResponseValidator(apiSpec);
const responses = petsResponseSchema();
Expand Down Expand Up @@ -99,7 +96,7 @@ describe(packageJson.name, () => {

// TODO may not be possible to fix
// https://github.com/epoberezkin/ajv/issues/837
it.skip('should if additional properties are provided when set false', async () => {
it.skip('should fail if additional properties are provided when set false', async () => {
const v = new ResponseValidator(apiSpec);
const responses = petsResponseSchema();
const validators = v._getOrBuildValidator(null, responses);
Expand Down

0 comments on commit e5db0a1

Please sign in to comment.