Skip to content

Commit

Permalink
chore: deleting not important files
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Jan 5, 2025
1 parent 48bbbf4 commit 697127c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 26 deletions.
6 changes: 3 additions & 3 deletions tools/src/tester/StoryEvaluator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ export default class StoryEvaluator {
const evaluations: ChapterEvaluation[] = []
for (const chapter of chapters) {
const title = chapter.synopsis || `${chapter.method} ${chapter.path}`
if(chapter.pending){
evaluations.push({ title, overall: { result: Result.IGNORED, message: chapter.pending} })
continue
if (chapter.pending != null && chapter.pending) {
evaluations.push({ title, overall: { result: Result.IGNORED, message: chapter.pending } })
continue
}
if (dry_run) {
evaluations.push({ title, overall: { result: Result.SKIPPED, message: 'Dry Run' } })
Expand Down
2 changes: 1 addition & 1 deletion tools/src/tester/types/eval.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface StoryEvaluation {
full_path: string
description: string
message?: string
ignored?: string
pending?: string
chapters?: ChapterEvaluation[]
epilogues?: ChapterEvaluation[]
prologues?: ChapterEvaluation[]
Expand Down
22 changes: 0 additions & 22 deletions tools/tests/tester/fixtures/stories/ignored/ignored.yaml

This file was deleted.

0 comments on commit 697127c

Please sign in to comment.