import {
  describe,
  expect,
  it
} from 'vitest';
import { getLocalApiTokenTtlMs } from './auth-store';

const TEN_YEARS_MS = 10 * 365 * 24 * 60 * 60 * 1000;

describe('auth-store', () => {
  it('defaults local API tokens to a very long lifetime', () => {
    expect(getLocalApiTokenTtlMs()).toBe(TEN_YEARS_MS);
  });
});
