Skip to content

Commit

Permalink
test(amplify-e2e-tests): add missing helper
Browse files Browse the repository at this point in the history
  • Loading branch information
danielleadams committed Oct 12, 2021
1 parent 88dd825 commit ae3c274
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import _ from 'lodash';
import { addApiWithBlankSchemaAndConflictDetection, addApiWithBlankSchema, amplifyPush, updateApiSchema } from 'amplify-e2e-core';
import { addApiWithBlankSchemaAndConflictDetection, amplifyPush, updateApiSchema } from 'amplify-e2e-core';
import { getApiKey, configureAmplify, getConfiguredAppsyncClientAPIKeyAuth } from '../authHelper';
import { testQueries, testMutations } from '../common';

Expand Down Expand Up @@ -270,9 +270,7 @@ export const expected_result_query5 = {
};

export async function runTest(projectDir: string, testModule: any) {
await addApiWithBlankSchema(projectDir, {
apiName: 'testapi',
});
await addApiWithBlankSchemaAndConflictDetection(projectDir);
await updateApiSchema(projectDir, 'testapi', testModule.schemaName);
await amplifyPush(projectDir);

Expand Down

0 comments on commit ae3c274

Please sign in to comment.