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.

383 B
Raw Blame
import { readFile } from 'node:fs/promises';

import { expect, it } from 'vitest';

it('keeps Node capabilities out of browser-reachable source', async () => {
  const source = await readFile(new URL('./browser.ts', import.meta.url), 'utf8');
  // This is an ongoing browser isolation policy, not confirmation of a removed helper.
  expect(source).not.toMatch(/from ['"]node:/);
});