Skip to content

Commit

Permalink
Fix: codecov coverage (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
tarun-khanna authored May 28, 2024
1 parent 8ba9fd0 commit c209c66
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
codecov:
branch: master # Default branch
token: 87ec62ae-9855-4b36-bd3d-a92c222cdb67
3 changes: 3 additions & 0 deletions .github/workflows/i18nify-js-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: (i18nify-js) CodeCov Code Coverage PR Analysis

on:
pull_request:
push:
branches:
- master

jobs:
# JOB to run change detection
Expand Down
2 changes: 1 addition & 1 deletion packages/i18nify-js/src/modules/currency/formatNumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { withErrorBoundary } from '../../common/errorBoundary';
import { getIntlInstanceWithOptions } from '../.internal/utils';
import { CurrencyCodeType, I18nifyNumberFormatOptions } from './types';

// this function formats number based on different arguments passed
/* this function formats number based on different arguments passed */
const formatNumber = (
amount: string | number,
options: {
Expand Down

0 comments on commit c209c66

Please sign in to comment.