Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var ewdGlobals = require('./node_modules/ewdjs/node_modules/globalsjs');
var interface = require('nodem');
require('gtm-config');
var db = new interface.Gtm();
console.log('db: ' + JSON.stringify(db));
var ok = db.open();
console.log('db.optn: ' + JSON.stringify(ok));
ewdGlobals.init(db);
var ewd = {
mumps: ewdGlobals
};
// Environment is now set up exactly as within EWD.js
// for accessing Mumps globals and functions from within this
// test harness
console.log(JSON.stringify(db.about()));
var ewdGlobals = require('./node_modules/ewdjs/node_modules/globalsjs');
var interface = require('nodem');
require('gtm-config');
var db = new interface.Gtm();
var ok = db.open();
ewdGlobals.init(db);
var ewd = {
mumps: ewdGlobals
};
var zewd = new ewd.mumps.GlobalNode('%zewd', []);
zewd._setDocument({
"EWDLiteServiceAccessId": {
"VistAClient": {
"secretKey": "$keepSecret!",
"apps": {
"VistADemo": true,
"VistARestServer": true
}