@@ -13,7 +13,7 @@ describe('Test for iOS platform', () => {
13
13
14
14
it ( 'returns correct version with json' , async ( ) => {
15
15
const iosVersion = await resolve ( ctx , {
16
- podspecPath : 'test/project/ios/podspec.json' ,
16
+ podSpecPath : 'test/project/ios/podspec.json' ,
17
17
dependencyName,
18
18
displayName : undefined ,
19
19
} )
@@ -32,7 +32,7 @@ describe('Test for iOS platform', () => {
32
32
33
33
it ( 'returns correct version with dsl' , async ( ) => {
34
34
const iosVersion = await resolve ( ctx , {
35
- podspecPath : 'test/project/ios/Test.podspec' ,
35
+ podSpecPath : 'test/project/ios/Test.podspec' ,
36
36
dependencyName,
37
37
displayName : undefined ,
38
38
} )
@@ -42,7 +42,7 @@ describe('Test for iOS platform', () => {
42
42
it ( 'throws error when file not found' , async ( ) => {
43
43
await expect (
44
44
resolve ( ctx , {
45
- podspecPath : 'nonExists' ,
45
+ podSpecPath : 'nonExists' ,
46
46
dependencyName,
47
47
displayName : undefined ,
48
48
} )
@@ -56,7 +56,7 @@ describe('Test for iOS platform', () => {
56
56
} )
57
57
58
58
await expect (
59
- resolve ( ctx , { podspecPath : 'not-readable.podspec.json' , dependencyName, displayName : undefined } )
59
+ resolve ( ctx , { podSpecPath : 'not-readable.podspec.json' , dependencyName, displayName : undefined } )
60
60
) . rejects . toThrowErrorMatchingSnapshot ( 'podspecNotReadable' )
61
61
62
62
readFileSyncMock . mockRestore ( )
@@ -65,7 +65,7 @@ describe('Test for iOS platform', () => {
65
65
it ( 'throws error when path is a directory' , async ( ) => {
66
66
await expect (
67
67
resolve ( ctx , {
68
- podspecPath : 'test' ,
68
+ podSpecPath : 'test' ,
69
69
dependencyName,
70
70
displayName : undefined ,
71
71
} )
0 commit comments