From b056325bd20470548507e0a278a18f52703bbd8c Mon Sep 17 00:00:00 2001 From: shadowusr Date: Fri, 1 Sep 2023 16:56:59 +0300 Subject: [PATCH] chore: rename test-adapter to hermione --- .../hermione.ts} | 16 ++++++++-------- lib/test-adapter/index.ts | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) rename lib/{test-adapter.ts => test-adapter/hermione.ts} (94%) create mode 100644 lib/test-adapter/index.ts diff --git a/lib/test-adapter.ts b/lib/test-adapter/hermione.ts similarity index 94% rename from lib/test-adapter.ts rename to lib/test-adapter/hermione.ts index 184a3e6a2..5d45607a0 100644 --- a/lib/test-adapter.ts +++ b/lib/test-adapter/hermione.ts @@ -2,12 +2,12 @@ import _ from 'lodash'; import fs from 'fs-extra'; import path from 'path'; -import {SuiteAdapter} from './suite-adapter'; -import {getSuitePath} from './plugin-utils'; -import {getCommandsHistory} from './history-utils'; -import {ERROR_DETAILS_PATH, TestStatus} from './constants'; -import {getError, isImageDiffError, mkTestId} from './common-utils'; -import * as utils from './server-utils'; +import {SuiteAdapter} from '../suite-adapter'; +import {getSuitePath} from '../plugin-utils'; +import {getCommandsHistory} from '../history-utils'; +import {ERROR_DETAILS_PATH, TestStatus} from '../constants'; +import {getError, isImageDiffError, mkTestId} from '../common-utils'; +import * as utils from '../server-utils'; import { AssertViewResult, ErrorDetails, @@ -15,8 +15,8 @@ import { ImageData, ImageInfoFull, TestResult -} from './types'; -import {ImagesInfoFormatter} from './image-handler'; +} from '../types'; +import {ImagesInfoFormatter} from '../image-handler'; const testsAttempts: Map = new Map(); diff --git a/lib/test-adapter/index.ts b/lib/test-adapter/index.ts new file mode 100644 index 000000000..abc7a4d66 --- /dev/null +++ b/lib/test-adapter/index.ts @@ -0,0 +1 @@ +export * from './hermione';