unqommented
Version:
A Node.js utility that quickly identifies files with uncommented code in your codebase. Designed for developers who want to efficiently tell LLMs exactly which files need comments added.
11 lines (9 loc) • 410 B
JavaScript
require('qtests/setup');
const { test, expect, describe } = require('@jest/globals');
const utils = require('../utils');
const localVars = require('../../config/localVars');
describe('findUncommentedFiles validation', () => {
test('rejects when baseDir is not a string', async () => {
await expect(utils.findUncommentedFiles(123)).rejects.toThrow(localVars.ERROR_MESSAGES.BASEDIR_NOT_STRING);
});
});