spec-link
Version:
A library for managing test specifications and integrations with test management tools
12 lines • 683 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const test_structure_extractor_1 = require("./test-structure-extractor");
const fs_1 = require("fs");
// Assuming the sample test file is saved as 'sample.test.ts'
const fileInfo = (0, test_structure_extractor_1.extractTestStructure)('./sample.test.ts');
console.log('Scanned File Structure:');
console.log(JSON.stringify(fileInfo, null, 2));
// Optionally, save the output to a JSON file for easier inspection
(0, fs_1.writeFileSync)('scanned-test-structure.json', JSON.stringify(fileInfo, null, 2));
console.log('Scan result saved to scanned-test-structure.json');
//# sourceMappingURL=run-scanner.js.map
;