All files / tests/mocks principal.ts

100% Statements 7/7
100% Branches 0/0
100% Functions 2/2
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 82x   2x 29x   2x 24x  
import { Principal } from '@dfinity/principal';
 
export const mockPrincipalId = (): string =>
  '4qehi-lqyo6-afz4c-hwqwo-lubfi-4evgk-5vrn5-rldx2-lheha-xs7a4-gae';
 
export const mockPrincipal = (): Principal =>
  Principal.fromText(mockPrincipalId());