@idiamantino/livepro-utils
Version:
Stuff for LP
32 lines (23 loc) • 737 B
JavaScript
;
const Lp = require('./index.js');
let region = "ap-southeast-2";
let params = [];
let result = "";
params['region'] = region;
// Set this to true if you want to run all tests
params['runall'] = true;
const LpTester = new Lp.Tester(params);
LpTester.test("string test");
// LpTester.printParams();
// LpTester.setDebug(true);
// LpTester.testDynamodb(params);
// LpTester.testSqs(params);
// LpTester.testUtils(params);
// LpTester.testR53(params);
// LpTester.testS3(params);
// LpTester.testLambda(params);
LpTester.debug(params);
// Test Dynamodb functions:
// const Dynamodb = require('./aws/dynamodb.js');
// const LpDynamodb = new Dynamodb(region, '2012-08-10', true);
// let result = await LpDynamodb.test();