Skip to content

Commit

Permalink
fix: add key in prod-environment.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Z3RO-O committed Oct 24, 2024
1 parent 43534fa commit 208695e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion hooks/utils/prod-environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const environment = {
GOOGLE_MAPS_API_KEY: '${process.env.FYLE_MOBILE_GOOGLE_MAPS_API_KEY}',
FRESHCHAT_TOKEN: '${process.env.FYLE_MOBILE_FRESHCHAT_TOKEN}',
SENTRY_DSN: '${process.env.FYLE_MOBILE_SENTRY_DSN}',
REFINER_NPS_PROJECT_ID: '${process.env.REFINER_NPS_PROJECT_ID}',
REFINER_NPS_FORM_ID: '${process.env.REFINER_NPS_FORM_ID}',
LAUNCH_DARKLY_CLIENT_ID: '${process.env.LAUNCH_DARKLY_CLIENT_ID}',
LIVE_UPDATE_APP_VERSION: '${process.env.LIVE_UPDATE_APP_VERSION}',
Expand All @@ -20,4 +21,4 @@ export const environment = {
USE_MIXPANEL_PROXY: '${process.env.USE_MIXPANEL_PROXY}',
ENABLE_MIXPANEL: '${process.env.ENABLE_MIXPANEL}'
};
`
`;
4 changes: 2 additions & 2 deletions src/app/fyle/view-team-report/view-team-report.page.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ describe('ViewTeamReportPageV2', () => {
expect(refinerService.startSurvey).toHaveBeenCalledOnceWith({ actionName: 'Approve Report' });
}));

it('should toggle tooltip if approval privilege is not provided', fakeAsync(() => {
it('should toggle tooltip if approval permission is not provided', fakeAsync(() => {
spyOn(component, 'toggleTooltip');
component.canApprove = false;
fixture.detectChanges();
Expand All @@ -624,7 +624,7 @@ describe('ViewTeamReportPageV2', () => {
expect(component.toggleTooltip).toHaveBeenCalledTimes(1);
}));

it('should not approve report if user does not have approval privileges', fakeAsync(() => {
it('should not approve report if user does not have approval permissions', fakeAsync(() => {
component.canApprove = false;
component.approveReport();
tick();
Expand Down

0 comments on commit 208695e

Please sign in to comment.