Skip to content

Commit

Permalink
chore: update dynamo-db-local (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
solaris007 committed Jan 26, 2024
1 parent fc49507 commit fd0adf0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
17 changes: 10 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/spacecat-shared-data-access/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"devDependencies": {
"chai": "4.4.1",
"chai-as-promised": "7.1.1",
"dynamo-db-local": "6.1.0",
"dynamo-db-local": "7.3.0",
"sinon": "17.0.1"
}
}
7 changes: 5 additions & 2 deletions packages/spacecat-shared-data-access/test/it/db.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import dynamoDbLocal from 'dynamo-db-local';
import DynamoDbLocal from 'dynamo-db-local';
import Joi from 'joi';

import { isIsoDate } from '@adobe/spacecat-shared-utils';
Expand Down Expand Up @@ -107,7 +107,10 @@ describe('DynamoDB Integration Test', async () => {
process.env.AWS_ACCESS_KEY_ID = 'dummy';
process.env.AWS_SECRET_ACCESS_KEY = 'dummy';

dynamoDbLocalProcess = dynamoDbLocal.spawn({ port: 8000, sharedDb: true });
dynamoDbLocalProcess = DynamoDbLocal.spawn({
port: 8000,
sharedDb: true,
});

await sleep(5000); // give db time to start up

Expand Down
6 changes: 0 additions & 6 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
"chai"
],
"allowedVersions": "<5.0.0"
},
{
"matchPackageNames": [
"dynamo-db-local"
],
"allowedVersions": "<7.0.0"
}
]
}

0 comments on commit fd0adf0

Please sign in to comment.