UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

16 lines 769 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const vitest_1 = require("vitest"); const File_1 = require("../File"); (0, vitest_1.describe)('SentryCli', () => { (0, vitest_1.test)('exists', () => { (0, vitest_1.expect)((0, File_1.exists)('**/File.ts')).toBeTruthy(); (0, vitest_1.expect)((0, File_1.exists)('Filea.ts')).toBeFalsy(); }); (0, vitest_1.test)('matchesContent', () => { (0, vitest_1.expect)((0, File_1.matchesContent)('**/File.ts', /exists/g)).toBeTruthy(); (0, vitest_1.expect)((0, File_1.matchesContent)('**/File.ts', /blabla/g)).toBeFalsy(); (0, vitest_1.expect)((0, File_1.matchesContent)('Filea.ts', /exists/g)).toBeFalsy(); }); }); //# sourceMappingURL=File.js.map