Skip to content

Commit

Permalink
debug: adding custom path
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Jan 18, 2025
1 parent 379167a commit 29c83d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/tests/tester/StoryValidator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ import StoryParser from "../../src/tester/StoryParser";
const validator = new StoryValidator()

function validate(path: string): StoryEvaluation | undefined {
const path_new = "../../../json_schemas/test_story.schema.yaml";
console.log(path);
const story: ParsedStory = StoryParser.parse(read_yaml(path))
const story: ParsedStory = StoryParser.parse(read_yaml(path_new))
console.log(JSON.stringify(story))
return validator.validate({ story, display_path: path, full_path: path })
}
Expand Down

0 comments on commit 29c83d0

Please sign in to comment.