Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Commit

Permalink
fix: fix mocks and buildfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
wswebcreation committed Apr 14, 2019
1 parent 0710e03 commit a431211
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Expand Up @@ -10,4 +10,4 @@ local.config.json
localBaseline/
docs/
lib/
mocks/
build/mocks
@@ -1,5 +1,5 @@
import {OFFSETS} from '../helpers/constants';
import {ANDROID_DEVICES, NAVIGATOR_APP_VERSIONS} from '../../mocks/mocks';
import {ANDROID_DEVICES, NAVIGATOR_APP_VERSIONS} from '../mocks/mocks';
import getAndroidStatusAddressToolBarHeight from './getAndroidStatusAddressToolBarHeight';

describe('getAndroidStatusAddressToolBarHeight', () => {
Expand Down
@@ -1,4 +1,4 @@
import {IOS_DEVICES} from '../../mocks/mocks';
import {IOS_DEVICES} from '../mocks/mocks';
import {getElementPositionTopScreenNativeMobile} from './getElementPositionTopScreenNativeMobile';

const CONFIGURABLE = {
Expand Down
@@ -1,4 +1,4 @@
import {IOS_DEVICES, NAVIGATOR_APP_VERSIONS} from '../../mocks/mocks';
import {IOS_DEVICES, NAVIGATOR_APP_VERSIONS} from '../mocks/mocks';
import getIosStatusAddressToolBarHeight from './getIosStatusAddressToolBarHeight';
import {OFFSETS} from '../helpers/constants';

Expand Down
2 changes: 1 addition & 1 deletion lib/helpers/utils.spec.ts
Expand Up @@ -17,7 +17,7 @@ import {
waitFor,
} from './utils';
import {FormatFileNameOptions, GetAndCreatePathOptions} from './utils.interfaces';
import {IMAGE_STRING} from '../../mocks/mocks';
import {IMAGE_STRING} from '../mocks/mocks';

describe('utils', () => {

Expand Down
2 changes: 1 addition & 1 deletion lib/methods/rectangles.spec.ts
@@ -1,5 +1,5 @@
import {determineElementRectangles, determineScreenRectangles, determineStatusAddressToolBarRectangles} from './rectangles';
import {IMAGE_STRING} from '../../mocks/mocks';
import {IMAGE_STRING} from '../mocks/mocks';

describe('rectangles', () => {
describe('determineElementRectangles', () => {
Expand Down
2 changes: 1 addition & 1 deletion lib/methods/screenshots.spec.ts
@@ -1,6 +1,6 @@
import {getBase64FullPageScreenshotsData} from './screenshots';
import {FullPageScreenshotDataOptions} from './screenshots.interfaces';
import {IMAGE_STRING} from '../../mocks/mocks';
import {IMAGE_STRING} from '../mocks/mocks';

describe('screenshots', () => {
describe('getBase64FullPageScreenshotsData', () => {
Expand Down
2 changes: 1 addition & 1 deletion mocks/mocks.ts → lib/mocks/mocks.ts
@@ -1,4 +1,4 @@
import {BeforeScreenshotOptions} from '../lib/helpers/beforeScreenshot.interface';
import {BeforeScreenshotOptions} from '../helpers/beforeScreenshot.interface';

export const BEFORE_SCREENSHOT_OPTIONS: BeforeScreenshotOptions = {
instanceData: {
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Expand Up @@ -16,6 +16,7 @@
"noImplicitReturns": true,
"noImplicitUseStrict": false,
"noLib": false,
"rootDir": "lib/",
"outDir": "./build",
"pretty": true,
"removeComments": true,
Expand Down

0 comments on commit a431211

Please sign in to comment.