Skip to content

Commit

Permalink
Fixing lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Charlie Fish <contact@charlie.fish>
  • Loading branch information
fishcharlie committed Dec 28, 2023
1 parent 2c01fba commit 73618c9
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/dynamoose/test/utils/dynamoose/index_changes.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ describe("utils.dynamoose.index_changes", () => {
"output": []
},
{
"input": [],
"schema": {"id": String, "data1": {"type": String, "index": {"type": "global", "project": ["data2"]}}, "data2": String, "data3": String},
"input": [],
"schema": {"id": String, "data1": {"type": String, "index": {"type": "global", "project": ["data2"]}}, "data2": String, "data3": String},
"output": [{
"spec": {
"IndexName": "data1GlobalIndex",
Expand All @@ -229,8 +229,8 @@ describe("utils.dynamoose.index_changes", () => {
}
],
"Projection": {
"NonKeyAttributes": [ "data2" ],
"ProjectionType": "INCLUDE",
"NonKeyAttributes": ["data2"],
"ProjectionType": "INCLUDE"
},
"ProvisionedThroughput": {
"ReadCapacityUnits": 1,
Expand All @@ -251,8 +251,8 @@ describe("utils.dynamoose.index_changes", () => {
}
],
"Projection": {
"NonKeyAttributes": [ "data2", "data3" ], // order not same as schema definition
"ProjectionType": "INCLUDE",
"NonKeyAttributes": ["data2", "data3"], // order not same as schema definition
"ProjectionType": "INCLUDE"
},
"IndexStatus": "ACTIVE",
"ProvisionedThroughput": {
Expand All @@ -278,8 +278,8 @@ describe("utils.dynamoose.index_changes", () => {
}
],
"Projection": {
"NonKeyAttributes": [ "data2" ],
"ProjectionType": "INCLUDE",
"NonKeyAttributes": ["data2"],
"ProjectionType": "INCLUDE"
},
"IndexStatus": "ACTIVE",
"ProvisionedThroughput": {
Expand All @@ -296,7 +296,7 @@ describe("utils.dynamoose.index_changes", () => {
"name": "data-index-1",
"type": "delete"
}]
},
}
];

tests.forEach((test) => {
Expand Down

0 comments on commit 73618c9

Please sign in to comment.