From 64b8f12bbc227c97581edd4e13ff0799446bfaee Mon Sep 17 00:00:00 2001 From: Michal Dorner Date: Sun, 10 Jan 2021 11:23:46 +0100 Subject: [PATCH] Rename 'test-parser' to 'parser-types' --- src/main.ts | 2 +- src/parsers/dart-json/dart-json-parser.ts | 2 +- src/parsers/jest-junit/jest-junit-parser.ts | 2 +- src/parsers/{test-parser.ts => parser-types.ts} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename src/parsers/{test-parser.ts => parser-types.ts} (100%) diff --git a/src/main.ts b/src/main.ts index 8174a8b..ef98380 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,7 +2,7 @@ import * as core from '@actions/core' import * as github from '@actions/github' import {parseJestJunit} from './parsers/jest-junit/jest-junit-parser' import {parseDartJson} from './parsers/dart-json/dart-json-parser' -import {ParseOptions, ParseTestResult} from './parsers/test-parser' +import {ParseOptions, ParseTestResult} from './parsers/parser-types' import {getFileContent, normalizeDirPath} from './utils/file-utils' import {listFiles} from './utils/git' import {getCheckRunSha} from './utils/github-utils' diff --git a/src/parsers/dart-json/dart-json-parser.ts b/src/parsers/dart-json/dart-json-parser.ts index 7de56f7..90452be 100644 --- a/src/parsers/dart-json/dart-json-parser.ts +++ b/src/parsers/dart-json/dart-json-parser.ts @@ -1,4 +1,4 @@ -import {Annotation, ParseOptions, TestResult} from '../test-parser' +import {Annotation, ParseOptions, TestResult} from '../parser-types' import {normalizeFilePath} from '../../utils/file-utils' import {Align, Icon, link, table} from '../../utils/markdown-utils' diff --git a/src/parsers/jest-junit/jest-junit-parser.ts b/src/parsers/jest-junit/jest-junit-parser.ts index 3cf1eb1..275bea7 100644 --- a/src/parsers/jest-junit/jest-junit-parser.ts +++ b/src/parsers/jest-junit/jest-junit-parser.ts @@ -1,4 +1,4 @@ -import {Annotation, ParseOptions, TestResult} from '../test-parser' +import {Annotation, ParseOptions, TestResult} from '../parser-types' import {parseStringPromise} from 'xml2js' import {JunitReport, TestCase, TestSuite, TestSuites} from './jest-junit-types' diff --git a/src/parsers/test-parser.ts b/src/parsers/parser-types.ts similarity index 100% rename from src/parsers/test-parser.ts rename to src/parsers/parser-types.ts