Skip to content

Commit

Permalink
test: test build type and graphql statement generation in swift
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilch committed Nov 16, 2023
1 parent e9f30e7 commit 4cd241e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
DEFAULT_IOS_CONFIG,
updateApiSchemaWithText,
generateModels,
generateStatementsAndTypes,
} from '@aws-amplify/amplify-codegen-e2e-core';
const { schemas } = require('@aws-amplify/graphql-schema-test-library');
import { writeFileSync, readdirSync, readFileSync } from 'fs';
Expand Down Expand Up @@ -42,6 +43,7 @@ describe('build app - Swift', () => {
console.log(schemaText); // log so that ci does not timeout
updateApiSchemaWithText(projectRoot, 'amplifyDatasource', schemaText);
await generateModels(projectRoot, outputDir);
await generateStatementsAndTypes(projectRoot, outputDir);
};
if (skip.has(schemaName)) {
it.skip(testName, testFunction);
Expand Down

0 comments on commit 4cd241e

Please sign in to comment.