All files / src/helpers/comemrcetoolsLink helpers.ts

50% Statements 3/6
0% Branches 0/6
0% Functions 0/3
100% Lines 3/3

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

1 2 3 43x 3x 3x  
export const isAnonymousSession = (token) => token && token.scope.includes('anonymous_id');
export const isUserSession = (token) => token && token.scope.includes('customer_id');
export const getAccessToken = (token) => token ? token.access_token : null;