The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { getLogsSwitchExitFrames } from '@/navigation/utils/getLogsSwitchExitFrames';
describe('getLogsSwitchExitFrames', () => {
it('switches the label back to the regular font letter by letter', () => {
expect(
getLogsSwitchExitFrames('Dev').map(
({ text, codeFontStart, codeFontEnd }) => [
text,
codeFontStart,
codeFontEnd,
],
),
).toEqual([
['Dev', 0, 3],
['Dev', 1, 3],
['Dev', 2, 3],
['Dev', 3, 3],
]);
});
});