antoncoding/monarch

View on GitHub
src/utils/test/address.test.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { getSlicedAddress } from '../address';

describe('getSlicedAddress', () => {
  it('should return a string of class names', () => {
    const address = getSlicedAddress('0x1234567890123456789012345678901234567890');
    expect(address).toEqual('0x123...7890');
  });
});