-
Notifications
You must be signed in to change notification settings - Fork 16
/
jest-dynamodb-config.js
35 lines (35 loc) · 1.03 KB
/
jest-dynamodb-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
module.exports = {
tables: [
{
TableName: `SyntheticSwitchTable`,
KeySchema: [
{ AttributeName: 'tokenIn#tokenInChainId#tokenOut#tokenOutChainId#type', KeyType: 'HASH' },
],
AttributeDefinitions: [
{ AttributeName: 'tokenIn#tokenInChainId#tokenOut#tokenOutChainId#type', AttributeType: 'S' },
],
ProvisionedThroughput: { ReadCapacityUnits: 10, WriteCapacityUnits: 10 },
},
{
TableName: `FillerAddress`,
KeySchema: [
{ AttributeName: 'pk', KeyType: 'HASH' },
],
AttributeDefinitions: [
{ AttributeName: 'pk', AttributeType: 'S' },
],
ProvisionedThroughput: { ReadCapacityUnits: 10, WriteCapacityUnits: 10 },
},
{
TableName: 'FillerCBTimestamps',
KeySchema: [
{ AttributeName: 'hash', KeyType: 'HASH' },
],
AttributeDefinitions: [
{ AttributeName: 'hash', AttributeType: 'S' },
],
ProvisionedThroughput: { ReadCapacityUnits: 10, WriteCapacityUnits: 10 },
}
],
port: 8000,
};