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, {
21
21
await registerSchema ( "./src/schemas/validation/meta.yaml" ) ;
22
22
await registerSchema ( "./src/schemas/validation/dialect.yaml" ) ;
23
23
await registerSchema ( "./src/schemas/validation/schema.yaml" ) ;
24
- await registerSchema ( "./src/schemas/validation/schema-base.yaml" ) ;
25
24
const fixtures = './tests/schema' ;
26
25
27
26
describe ( "v3.1" , ( ) => {
@@ -31,7 +30,7 @@ describe("v3.1", () => {
31
30
. forEach ( ( entry ) => {
32
31
test ( entry . name , async ( ) => {
33
32
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 " ) ;
35
34
} ) ;
36
35
} ) ;
37
36
} ) ;
@@ -42,7 +41,7 @@ describe("v3.1", () => {
42
41
. forEach ( ( entry ) => {
43
42
test ( entry . name , async ( ) => {
44
43
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 " ) ;
46
45
} ) ;
47
46
} ) ;
48
47
} ) ;
You can’t perform that action at this time.
0 commit comments