Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it('should be able to add DynamoDbPersistenceAdapter with customization', () => {
const skillConfig = StandardSkillFactory.init()
.withTableName('testTable')
.withAutoCreateTable(false)
.withDynamoDbClient(new DynamoDB({apiVersion : 'latest'}))
.withPartitionKeyGenerator(PartitionKeyGenerators.userId)
.getSkillConfiguration();
expect(skillConfig.persistenceAdapter).instanceOf(DynamoDbPersistenceAdapter);
});
});