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.

441 B
Raw Blame
import { describe, expect, it } from 'vitest';

import { legacySandboxStoragePath } from './sandboxStoragePath';

describe('legacySandboxStoragePath', () => {
  it.each([
    ['/settings/drive', '/resource/sandbox-storage'],
    ['/settings/drive/', '/resource/sandbox-storage'],
    ['/acme/settings/drive', '/acme/resource/sandbox-storage'],
  ])('%s → %s', (from, to) => {
    expect(legacySandboxStoragePath(from)).toBe(to);
  });
});