UNPKG

serverless-spy

Version:

CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.

13 lines (9 loc) 202 B
var spawn = require('./spawn-sync'); var keep = spawn.arg; try { var result = spawn.tmpFunction({ keep: keep }); spawn.out(result.name, spawn.exit); } catch (e) { spawn.err(err, spawn.exit); }