mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 01:14:23 +01:00
feat: removed console
This commit is contained in:
parent
5fd6773f43
commit
1c110f0cb0
@ -191,7 +191,6 @@ const getBruFilesRecursively = (dir, testsOnly) => {
|
|||||||
|
|
||||||
if (!stats.isDirectory() && path.extname(filePath) === '.bru') {
|
if (!stats.isDirectory() && path.extname(filePath) === '.bru') {
|
||||||
const bruContent = fs.readFileSync(filePath, 'utf8');
|
const bruContent = fs.readFileSync(filePath, 'utf8');
|
||||||
// console.log('filePath 2', filePath);
|
|
||||||
const bruJson = bruToJson(bruContent);
|
const bruJson = bruToJson(bruContent);
|
||||||
const requestHasTests = bruJson.request?.tests;
|
const requestHasTests = bruJson.request?.tests;
|
||||||
const requestHasActiveAsserts = bruJson.request?.assertions.some((x) => x.enabled) || false;
|
const requestHasActiveAsserts = bruJson.request?.assertions.some((x) => x.enabled) || false;
|
||||||
|
Loading…
Reference in New Issue
Block a user