@@ -2,7 +2,7 @@ import { compareFiles } from '../utils'
22import  {  diffsMatcher  }  from  '../../helper/matchers' 
33import  {  breaking ,  DiffAction ,  nonBreaking  }  from  '../../../src' 
44
5- const  SUITE_ID  =  'pathItems ' 
5+ const  SUITE_ID  =  'path-item ' 
66
77const  PATH_ITEM_PATH  =  [ 
88  'components' , 
@@ -12,8 +12,8 @@ const PATH_ITEM_PATH = [
1212
1313describe ( 'Openapi3.1 PathItems' ,  ( )  =>  { 
1414
15-   test ( 'Add method in pathitem ' ,  async  ( )  =>  { 
16-     const  testId  =  'add-method-in-pathitem ' 
15+   test ( 'Add method in path item ' ,  async  ( )  =>  { 
16+     const  testId  =  'add-method-in-path-item ' 
1717    const  result  =  await  compareFiles ( SUITE_ID ,  testId ) 
1818    expect ( result ) . toEqual ( diffsMatcher ( [ 
1919      expect . objectContaining ( { 
@@ -24,14 +24,14 @@ describe('Openapi3.1 PathItems', () => {
2424    ] ) ) 
2525  } ) 
2626
27-   test ( 'Add unused method in pathitem ' ,  async  ( )  =>  { 
28-     const  testId  =  'add-unused-method-in-pathitem ' 
27+   test ( 'Add unused method in path item ' ,  async  ( )  =>  { 
28+     const  testId  =  'add-unused-method-in-path-item ' 
2929    const  result  =  await  compareFiles ( SUITE_ID ,  testId ) 
3030    expect ( result ) . toEqual ( [ ] ) 
3131  } ) 
3232
33-   test ( 'Remove method in pathitem ' ,  async  ( )  =>  { 
34-     const  testId  =  'remove-method-in-pathitem ' 
33+   test ( 'Remove method in path item ' ,  async  ( )  =>  { 
34+     const  testId  =  'remove-method-in-path-item ' 
3535    const  result  =  await  compareFiles ( SUITE_ID ,  testId ) 
3636    expect ( result ) . toEqual ( diffsMatcher ( [ 
3737      expect . objectContaining ( { 
@@ -42,14 +42,14 @@ describe('Openapi3.1 PathItems', () => {
4242    ] ) ) 
4343  } ) 
4444
45-   test ( 'Replace inline pathitem  to ref' ,  async  ( )  =>  { 
46-     const  testId  =  'replace-inline-pathitem -to-ref' 
45+   test ( 'Replace inline path item  to ref' ,  async  ( )  =>  { 
46+     const  testId  =  'replace-inline-path-item -to-ref' 
4747    const  result  =  await  compareFiles ( SUITE_ID ,  testId ) 
4848    expect ( result ) . toEqual ( [ ] ) 
4949  } ) 
5050
51-   test ( 'Replace ref pathitem  to inline' ,  async  ( )  =>  { 
52-     const  testId  =  'replace-ref-pathitem -to-inline' 
51+   test ( 'Replace ref path item  to inline' ,  async  ( )  =>  { 
52+     const  testId  =  'replace-ref-path-item -to-inline' 
5353    const  result  =  await  compareFiles ( SUITE_ID ,  testId ) 
5454    expect ( result ) . toEqual ( [ ] ) 
5555  } ) 
0 commit comments