Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

431 B
Raw Blame
// @vitest-environment node
import { describe, expect, it } from 'vitest';

import { findStaleLegacyFiles, scanRepo } from '.';

describe('legacyFiles.json', () => {
  it('lists only files that still import emotion styles', () => {
    const stale = findStaleLegacyFiles(scanRepo());

    // A migrated or deleted file is still listed. Run:
    //   bun run stylex:migration --prune-legacy
    expect(stale).toEqual([]);
  });
});