File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ defineVocabulary(oasBaseVocab, {
2121await registerSchema ( "./src/schemas/validation/meta.yaml" ) ;
2222await registerSchema ( "./src/schemas/validation/dialect.yaml" ) ;
2323await registerSchema ( "./src/schemas/validation/schema.yaml" ) ;
24- await registerSchema ( "./src/schemas/validation/schema-base.yaml" ) ;
2524const fixtures = './tests/schema' ;
2625
2726describe ( "v3.1" , ( ) => {
@@ -31,7 +30,7 @@ describe("v3.1", () => {
3130 . forEach ( ( entry ) => {
3231 test ( entry . name , async ( ) => {
3332 const instance = parseYamlFromFile ( `${ fixtures } /pass/${ entry . name } ` ) ;
34- await expect ( instance ) . to . matchJsonSchema ( "https://spec.openapis.org/oas/3.1/ schema-base/WORK-IN-PROGRESS " ) ;
33+ await expect ( instance ) . to . matchJsonSchema ( "./src/schemas/validation/ schema-base.yaml " ) ;
3534 } ) ;
3635 } ) ;
3736 } ) ;
@@ -42,7 +41,7 @@ describe("v3.1", () => {
4241 . forEach ( ( entry ) => {
4342 test ( entry . name , async ( ) => {
4443 const instance = parseYamlFromFile ( `${ fixtures } /fail/${ entry . name } ` ) ;
45- await expect ( instance ) . to . not . matchJsonSchema ( "https://spec.openapis.org/oas/3.1/ schema-base/WORK-IN-PROGRESS " ) ;
44+ await expect ( instance ) . to . not . matchJsonSchema ( "./src/schemas/validation/ schema-base.yaml " ) ;
4645 } ) ;
4746 } ) ;
4847 } ) ;
You can’t perform that action at this time.
0 commit comments