Skip to content

Commit

Permalink
fix test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sundersc committed Sep 21, 2023
1 parent 957e395 commit 0cc783e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/amplify-e2e-tests/src/__tests__/rds-v2.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,12 @@ describe('RDS Tests', () => {
let projRoot;

beforeAll(async () => {
projRoot = await createNewProjectDir('rdsimportapi');
await initProjectAndImportSchema();
});

afterAll(async () => {
await cleanupDatabase();
});

beforeEach(async () => {
projRoot = await createNewProjectDir('rdsimportapi');
});

afterEach(async () => {
const metaFilePath = path.join(projRoot, 'amplify', '#current-cloud-backend', 'amplify-meta.json');
if (existsSync(metaFilePath)) {
await deleteProject(projRoot);
Expand Down

0 comments on commit 0cc783e

Please sign in to comment.