Skip to content

Beautiful, AI-native markdown IDE and LLM wiki

250 B
Raw Blame
import { expect, test } from 'vitest';

test('a test that defines localStorage while it runs', () => {
  Object.defineProperty(globalThis, 'localStorage', { value: {}, configurable: true });
  expect(typeof process.versions.node).toBe('string');
});