pagerduty-custom-test
v1.0.2
Published
Unit test for PagerDuty custom event transformation
Downloads
3
Maintainers
Readme
pagerduty-custom-test
PagerDuty Custom Event Transformer unit testing
Offline unit testing for PagerDuty custom event transformer
Usage
var pdtest = require("pagerduty-custom-test");
test('ok', () => {
var emit = jest.fn()
pdtest.runTest("transform.js", `{}`, emit)
expect(emit).toHaveBeenCalledTimes(1);
});