9 lines
236 B
TypeScript
9 lines
236 B
TypeScript
|
|
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');
|
|
});
|