UNPKG

loqatevars

Version:

Locate JavaScript files with 'const' or 'process.env' usage in LLM-generated codebases

14 lines (11 loc) 378 B
// Mock globby to avoid ESM issues in utils jest.mock('globby'); const lib = require('../index'); describe('index exports', () => { test('re-exports findMatchingFiles', () => { expect(typeof lib.findMatchingFiles).toBe('function'); }); test('re-exports findMatchingFilesDetailed', () => { expect(typeof lib.findMatchingFilesDetailed).toBe('function'); }); });