Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-79-npm / newrelic / newrelic.js
316 bytesRaw
1 | ; |
2 | |
3 | var fs = require('fs'); |
4 | process.env.NEW_RELIC_APP_NAME = 'pkg-test'; |
5 | process.env.NEW_RELIC_NO_CONFIG_FILE = true; |
6 | var Agent = require('newrelic/lib/agent.js'); |
7 | Agent.prototype.start = function () { |
8 | console.log('ok'); |
9 | fs.unlinkSync('newrelic_agent.log'); |
10 | process.exit(); |
11 | }; |
12 | |
13 | require('newrelic'); |
14 |
Built with git-ssb-web