Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

236 B
Raw Blame

import { it, expect } from 'vitest'

it('should declare global object core when importing the module and then deleting it', () => {
  import('./index');
  delete globalThis.core;
  expect(typeof globalThis.core).toBe('undefined');
});