Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cleanup unused code #494

Merged
merged 15 commits into from
Apr 8, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
.
  • Loading branch information
naorpeled committed Apr 8, 2023
commit f157f711e1ab062a439a21a9ce8b4e411c8f6df3
25 changes: 12 additions & 13 deletions src/__tests__/table-creation.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ describe('Table creation', () => {
attributes: {
_et: { type: 'string', mappings: {} }
},
autoExecute: true,
autoParse: true,
entities: [],
})
}),
autoExecute: true,
autoParse: true,
entities: [],
}))
})

Expand All @@ -138,10 +138,10 @@ describe('Table creation', () => {
entityField: '_et',
indexes: {},
attributes: { _et: { type: 'string', mappings: {} } },
autoExecute: true,
autoParse: true,
entities: [],
})
}),
autoExecute: true,
autoParse: true,
entities: [],
}))
})

Expand All @@ -151,7 +151,6 @@ describe('Table creation', () => {
partitionKey: 'pk'
})

// Add the DocumentClient
TestTable.DocumentClient = DocumentClient

expect(TestTable.DocumentClient.constructor.name).toBe('DynamoDBDocumentClient')
Expand All @@ -163,10 +162,10 @@ describe('Table creation', () => {
entityField: '_et',
indexes: {},
attributes: { _et: { type: 'string', mappings: {} } },
autoExecute: true,
autoParse: true,
entities: []
})
}),
entities: [],
autoExecute: true,
autoParse: true,
}))
})
})