1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00
unleash.unleash/src/lib/addons/__snapshots__/new-relic.test.ts.snap
Alexandru Savin 9fae7801ed
feat: New Relic integration (#7492)
## About the changes
Add New Relic integration based on issue #878.


![image](https://github.com/Unleash/unleash/assets/1612455/05523b73-398b-413d-b760-26bf2feec2db)


![image](https://github.com/Unleash/unleash/assets/1612455/1ec01f52-0c1a-46a7-aa5b-5ca80004dcf8)


<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #878
2024-07-05 15:16:00 +02:00

51 lines
1.2 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Should call New Relic Event API for $type toggle 1`] = `
{
"Api-Key": "fakeLicenseKey",
"Content-Encoding": "gzip",
"Content-Type": "application/json",
}
`;
exports[`Should call New Relic Event API for FEATURE_ARCHIVED toggle with project info 1`] = `
{
"Api-Key": "fakeLicenseKey",
"Content-Encoding": "gzip",
"Content-Type": "application/json",
}
`;
exports[`Should call New Relic Event API for FEATURE_ARCHIVED with project info 1`] = `
{
"Api-Key": "fakeLicenseKey",
"Content-Encoding": "gzip",
"Content-Type": "application/json",
}
`;
exports[`Should call New Relic Event API for custom body template 1`] = `
{
"Api-Key": "fakeLicenseKey",
"Content-Encoding": "gzip",
"Content-Type": "application/json",
}
`;
exports[`Should call New Relic Event API for customHeaders in headers when calling service 1`] = `
{
"Api-Key": "fakeLicenseKey",
"Content-Encoding": "gzip",
"Content-Type": "application/json",
"MY_CUSTOM_HEADER": "MY_CUSTOM_VALUE",
}
`;
exports[`Should call New Relic Event API for toggled environment 1`] = `
{
"Api-Key": "fakeLicenseKey",
"Content-Encoding": "gzip",
"Content-Type": "application/json",
}
`;