feat: able to test files

This commit is contained in:
Lin, Hung-Shin authored and wancat committed 2023-10-29 17:41:38 +08:00
1 parent af27780763
commit 625c1a80da
5 files changed
+99 -28

No files matched your search

-1
View File
@@ -65,7 +65,6 @@ function printLine(content, delay, color) {
}
async function printResponses(responses, delay = 100) {
await waitTime(1000)
console.log()
console.log(colorize('-------------', 'white'))
for (const response of responses) {
+8 -2
View File
@@ -11,9 +11,15 @@ const responseSchema = new Schema({
})
const fileConditionSchema = new Schema({
path: String,
path: {
type: String,
required: true,
},
type: String,
exists: Boolean,
exists: {
type: Boolean,
default: true,
},
})
const conditionSchema = new Schema({