@@ -5,29 +5,27 @@ exports[`authenticationType is missing 1`] = `"appSync property \`authentication
5
5
exports [` authenticationType is missing 2` ] = ` "appSync property \` authenticationType\` is missing or invalid."` ;
6
6
7
7
exports [` returns valid config 1` ] = `
8
- Array [
9
- Object {
10
- " apiId" : undefined ,
11
- " apiKey" : undefined ,
12
- " authenticationType" : " AWS_IAM" ,
13
- " dataSources" : Array [
14
- Object {
15
- " name" : " users" ,
16
- " type" : " AMAZON_DYNAMODB" ,
17
- },
18
- Object {
19
- " name" : " tweets" ,
20
- " type" : " AMAZON_DYNAMODB" ,
21
- },
22
- ],
23
- " isSingleConfig" : true ,
24
- " logConfig" : undefined ,
25
- " mappingTemplates" : Array [],
26
- " mappingTemplatesLocation" : " mapping-templates" ,
27
- " name" : " api" ,
28
- " openIdConnectConfig" : undefined ,
29
- " region" : " us-east-1" ,
30
- " schema" : " type Mutation {
8
+ Object {
9
+ " apiId" : undefined ,
10
+ " apiKey" : undefined ,
11
+ " authenticationType" : " AWS_IAM" ,
12
+ " dataSources" : Array [
13
+ Object {
14
+ " name" : " users" ,
15
+ " type" : " AMAZON_DYNAMODB" ,
16
+ },
17
+ Object {
18
+ " name" : " tweets" ,
19
+ " type" : " AMAZON_DYNAMODB" ,
20
+ },
21
+ ],
22
+ " logConfig" : undefined ,
23
+ " mappingTemplates" : Array [],
24
+ " mappingTemplatesLocation" : " mapping-templates" ,
25
+ " name" : " api" ,
26
+ " openIdConnectConfig" : undefined ,
27
+ " region" : " us-east-1" ,
28
+ " schema" : " type Mutation {
31
29
# Create a tweet for a user
32
30
# consumer keys and tokens are not required for dynamo integration
33
31
createTweet (
@@ -121,8 +119,7 @@ schema {
121
119
subscription : Subscription
122
120
}
123
121
",
124
- "substitutions": Object { } ,
125
- "userPoolConfig": undefined,
126
- },
127
- ]
122
+ "substitutions": Object { } ,
123
+ "userPoolConfig": undefined,
124
+ }
128
125
` ;
0 commit comments