Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
OGPoyraz committed Jun 19, 2024
1 parent e34e9bf commit 3b25f23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion ui/helpers/utils/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export function getRandomFileName() {
* Returns the string it is no longer than truncatedCharLimit.
*
* @param {string} stringToShorten - The string to shorten.
* @param {Object} options - The options to use when shortening the string.
* @param {object} options - The options to use when shortening the string.
* @param {number} options.truncatedCharLimit - The maximum length of the string.
* @param {number} options.truncatedStartChars - The number of characters to preserve at the beginning.
* @param {number} options.truncatedEndChars - The number of characters to preserve at the end.
Expand Down
5 changes: 0 additions & 5 deletions ui/helpers/utils/util.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ import { CHAIN_IDS } from '../../../shared/constants/network';
import { addHexPrefixToObjectValues } from '../../../shared/lib/swaps-utils';
import { toPrecisionWithoutTrailingZeros } from '../../../shared/lib/transactions-controller-utils';
import * as util from './util';
import {
TRUNCATED_ADDRESS_START_CHARS,
TRUNCATED_NAME_CHAR_LIMIT,
TRUNCATED_ADDRESS_END_CHARS,
} from '../../../shared/constants/labels';

describe('util', () => {
let ethInWei = '1';
Expand Down

0 comments on commit 3b25f23

Please sign in to comment.