From b650148ad74eace389337c8620b2091672e4b135 Mon Sep 17 00:00:00 2001 From: Tokesh Date: Sun, 5 Jan 2025 19:50:32 +0500 Subject: [PATCH] chore: renaming ignored test files to make standart Signed-off-by: Tokesh --- .../fixtures/evals/ignored/{ignore.yaml => ignored.yaml} | 2 +- tools/tests/tester/integ/StoryEvaluator.test.ts | 4 ++-- tools/tests/tester/integ/TestRunner.test.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename tools/tests/tester/fixtures/evals/ignored/{ignore.yaml => ignored.yaml} (84%) diff --git a/tools/tests/tester/fixtures/evals/ignored/ignore.yaml b/tools/tests/tester/fixtures/evals/ignored/ignored.yaml similarity index 84% rename from tools/tests/tester/fixtures/evals/ignored/ignore.yaml rename to tools/tests/tester/fixtures/evals/ignored/ignored.yaml index df626061..6e1fe983 100644 --- a/tools/tests/tester/fixtures/evals/ignored/ignore.yaml +++ b/tools/tests/tester/fixtures/evals/ignored/ignored.yaml @@ -1,5 +1,5 @@ display_path: ignored/ignored.yaml -full_path: tools/tests/tester/fixtures/stories/ignored/ignore.yaml +full_path: tools/tests/tester/fixtures/stories/ignored/ignored.yaml result: PASSED description: This story should ignored. diff --git a/tools/tests/tester/integ/StoryEvaluator.test.ts b/tools/tests/tester/integ/StoryEvaluator.test.ts index e2d07e2f..7413420c 100644 --- a/tools/tests/tester/integ/StoryEvaluator.test.ts +++ b/tools/tests/tester/integ/StoryEvaluator.test.ts @@ -70,8 +70,8 @@ test('skipped/semver', async () => { }) test('ignored', async () => { - const actual = await load_actual_evaluation(story_evaluator, 'skipped/semver') - const expected = load_expected_evaluation('skipped/semver') + const actual = await load_actual_evaluation(story_evaluator, 'ignored/ignored') + const expected = load_expected_evaluation('ignored/ignored') expect(actual).toEqual(expected) }) diff --git a/tools/tests/tester/integ/TestRunner.test.ts b/tools/tests/tester/integ/TestRunner.test.ts index 30370d4d..0d5a3abe 100644 --- a/tools/tests/tester/integ/TestRunner.test.ts +++ b/tools/tests/tester/integ/TestRunner.test.ts @@ -34,7 +34,7 @@ test('stories folder', async () => { 'error/prologue_error', 'failed/invalid_data', 'failed/not_found', - 'ignored/ignore', + 'ignored/ignored', 'passed/multiple_methods', 'passed/passed', 'passed/value_type',