Skip to content

Commit 16bfdcc

Browse files
author
Christopher J. Brody
committed
update test snapshots
1 parent 4b320e9 commit 16bfdcc

File tree

31 files changed

+117
-24
lines changed

31 files changed

+117
-24
lines changed

tests/integration/cli/create/view/__snapshots__/cli-create-with-view.test.js.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def configureReactNativePom(def pom) {
182182
name packageJson.title
183183
artifactId packageJson.name
184184
version = packageJson.version
185-
group = \\"com.reactlibrary\\"
185+
group = packageJson.android.packageIdentifier
186186
description packageJson.description
187187
url packageJson.repository.baseUrl
188188
@@ -667,6 +667,9 @@ RCT_EXPORT_MODULE()
667667
\\"license\\": \\"MIT\\",
668668
\\"licenseFilename\\": \\"LICENSE\\",
669669
\\"readmeFilename\\": \\"README.md\\",
670+
\\"android\\": {
671+
\\"packageIdentifier\\": \\"com.reactlibrary\\"
672+
},
670673
\\"peerDependencies\\": {
671674
\\"react\\": \\"^16.8.1\\",
672675
\\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\"

tests/integration/cli/create/with-defaults/__snapshots__/cli-create-with-defaults.test.js.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def configureReactNativePom(def pom) {
182182
name packageJson.title
183183
artifactId packageJson.name
184184
version = packageJson.version
185-
group = \\"com.reactlibrary\\"
185+
group = packageJson.android.packageIdentifier
186186
description packageJson.description
187187
url packageJson.repository.baseUrl
188188
@@ -663,6 +663,9 @@ RCT_EXPORT_METHOD(sampleMethod:(NSString *)stringArgument numberParameter:(nonnu
663663
\\"license\\": \\"MIT\\",
664664
\\"licenseFilename\\": \\"LICENSE\\",
665665
\\"readmeFilename\\": \\"README.md\\",
666+
\\"android\\": {
667+
\\"packageIdentifier\\": \\"com.reactlibrary\\"
668+
},
666669
\\"peerDependencies\\": {
667670
\\"react\\": \\"^16.8.1\\",
668671
\\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\"

tests/with-injection/create/view/with-defaults/__snapshots__/create-view-with-defaults.test.js.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ content:
8686
\\"license\\": \\"MIT\\",
8787
\\"licenseFilename\\": \\"LICENSE\\",
8888
\\"readmeFilename\\": \\"README.md\\",
89+
\\"android\\": {
90+
\\"packageIdentifier\\": \\"com.reactlibrary\\"
91+
},
8992
\\"peerDependencies\\": {
9093
\\"react\\": \\"^16.8.1\\",
9194
\\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\"
@@ -257,7 +260,7 @@ def configureReactNativePom(def pom) {
257260
name packageJson.title
258261
artifactId packageJson.name
259262
version = packageJson.version
260-
group = \\"com.reactlibrary\\"
263+
group = packageJson.android.packageIdentifier
261264
description packageJson.description
262265
url packageJson.repository.baseUrl
263266

tests/with-injection/create/view/with-example/with-defaults/__snapshots__/create-view-with-example-with-defaults.test.js.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ content:
9090
\\"license\\": \\"MIT\\",
9191
\\"licenseFilename\\": \\"LICENSE\\",
9292
\\"readmeFilename\\": \\"README.md\\",
93+
\\"android\\": {
94+
\\"packageIdentifier\\": \\"com.reactlibrary\\"
95+
},
9396
\\"peerDependencies\\": {
9497
\\"react\\": \\"^16.8.1\\",
9598
\\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\"
@@ -262,7 +265,7 @@ def configureReactNativePom(def pom) {
262265
name packageJson.title
263266
artifactId packageJson.name
264267
version = packageJson.version
265-
group = \\"com.reactlibrary\\"
268+
group = packageJson.android.packageIdentifier
266269
description packageJson.description
267270
url packageJson.repository.baseUrl
268271

tests/with-injection/create/view/with-example/with-options/__snapshots__/create-view-with-example-with-options.test.js.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ content:
9090
\\"license\\": \\"ISC\\",
9191
\\"licenseFilename\\": \\"LICENSE\\",
9292
\\"readmeFilename\\": \\"README.md\\",
93+
\\"android\\": {
94+
\\"packageIdentifier\\": \\"com.reactlibrary\\"
95+
},
9396
\\"peerDependencies\\": {
9497
\\"react\\": \\"^16.8.1\\",
9598
\\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\"
@@ -262,7 +265,7 @@ def configureReactNativePom(def pom) {
262265
name packageJson.title
263266
artifactId packageJson.name
264267
version = packageJson.version
265-
group = \\"com.reactlibrary\\"
268+
group = packageJson.android.packageIdentifier
266269
description packageJson.description
267270
url packageJson.repository.baseUrl
268271

tests/with-injection/create/view/with-options/for-android/__snapshots__/lib-view-android-config-options.test.js.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ content:
7676
\\"license\\": \\"ISC\\",
7777
\\"licenseFilename\\": \\"LICENSE\\",
7878
\\"readmeFilename\\": \\"README.md\\",
79+
\\"android\\": {
80+
\\"packageIdentifier\\": \\"com.reactlibrary\\"
81+
},
7982
\\"peerDependencies\\": {
8083
\\"react\\": \\"^16.8.1\\",
8184
\\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\"
@@ -226,7 +229,7 @@ def configureReactNativePom(def pom) {
226229
name packageJson.title
227230
artifactId packageJson.name
228231
version = packageJson.version
229-
group = \\"com.reactlibrary\\"
232+
group = packageJson.android.packageIdentifier
230233
description packageJson.description
231234
url packageJson.repository.baseUrl
232235

tests/with-injection/create/view/with-options/for-ios/__snapshots__/create-view-with-options-for-ios.test.js.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ content:
7676
\\"license\\": \\"ISC\\",
7777
\\"licenseFilename\\": \\"LICENSE\\",
7878
\\"readmeFilename\\": \\"README.md\\",
79+
\\"android\\": {
80+
\\"packageIdentifier\\": \\"com.reactlibrary\\"
81+
},
7982
\\"peerDependencies\\": {
8083
\\"react\\": \\"^16.8.1\\",
8184
\\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\"

tests/with-injection/create/with-defaults/__snapshots__/create-with-defaults.test.js.snap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ content:
8686
\\"license\\": \\"MIT\\",
8787
\\"licenseFilename\\": \\"LICENSE\\",
8888
\\"readmeFilename\\": \\"README.md\\",
89+
\\"android\\": {
90+
\\"packageIdentifier\\": \\"com.reactlibrary\\"
91+
},
8992
\\"peerDependencies\\": {
9093
\\"react\\": \\"^16.8.1\\",
9194
\\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\"
@@ -257,7 +260,7 @@ def configureReactNativePom(def pom) {
257260
name packageJson.title
258261
artifactId packageJson.name
259262
version = packageJson.version
260-
group = \\"com.reactlibrary\\"
263+
group = packageJson.android.packageIdentifier
261264
description packageJson.description
262265
url packageJson.repository.baseUrl
263266

tests/with-injection/create/with-defaults/bogus-platforms/bogus-name/__snapshots__/bogus-platforms-name.test.js.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ content:
6666
\\"license\\": \\"MIT\\",
6767
\\"licenseFilename\\": \\"LICENSE\\",
6868
\\"readmeFilename\\": \\"README.md\\",
69+
\\"android\\": {
70+
\\"packageIdentifier\\": \\"com.reactlibrary\\"
71+
},
6972
\\"peerDependencies\\": {
7073
\\"react\\": \\"^16.8.1\\",
7174
\\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\"

tests/with-injection/create/with-defaults/bogus-platforms/empty-array/__snapshots__/bogus-platforms-empty-array.test.js.snap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ content:
6666
\\"license\\": \\"MIT\\",
6767
\\"licenseFilename\\": \\"LICENSE\\",
6868
\\"readmeFilename\\": \\"README.md\\",
69+
\\"android\\": {
70+
\\"packageIdentifier\\": \\"com.reactlibrary\\"
71+
},
6972
\\"peerDependencies\\": {
7073
\\"react\\": \\"^16.8.1\\",
7174
\\"react-native\\": \\">=0.60.0-rc.0 <1.0.x\\"

0 commit comments

Comments
 (0)