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';