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
Show file tree
Hide file tree
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
Next Next commit
.
  • Loading branch information
naorpeled committed Apr 8, 2023
commit 4f007a1632d6264ae6cc91f7d98e5ca28fe798a6
1 change: 1 addition & 0 deletions src/__tests__/table.entities.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { DocumentClient } from './bootstrap.test'

let TestTable: any
let TestEntity: any
// eslint-disable-next-line @typescript-eslint/no-unused-vars
let TestEntity2: any

describe('entities', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/table.transactGet.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('transactGet', () => {
TestEntity.getTransaction({ email: 'test', sort: 'testsk' })
])
expect(result).toHaveProperty('TransactItems')
expect(result.TransactItems![0]).toEqual({
expect(result.TransactItems?.[0]).toEqual({
Get: {
TableName: 'test-table',
Key: { pk: 'test', sk: 'testsk' }
Expand Down