-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
Description
Running the following test:
describe('DynamodbService', () => {
let instance: UserPersistenceService;
beforeEach(() => {
instance = new UserPersistenceService();
dynamodb.install();
dynamodb.start({
port: 8000
});
});
it('can be instantiated', () => {
expect(instance instanceof UserPersistenceService).toBeTruthy();
});
afterEach(() => {
dynamodb.stop({
port: 8000
})
});
});
produces the following output in tests results:
PASS packages/datagator/src/lib/dynamodb/dynamodb.service.spec.ts (6.001s)
● Console
console.log node_modules/dynamodb-localhost/dynamodb/installer.js:12
Started downloading dynamodb-local from http://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.tar.gz into /home/developer/src/microgamma/node_modules/dynamodb-localhost/dynamodb/bin. Process may take few minutes.
console.log node_modules/dynamodb-localhost/index.js:30
Dynamodb Local Started, Visit: http://localhost:8000/shell
I expect the output to be clean and to still be able to get debugging info if wanted using DEBUG=dynamodb-localhost:* environment variable