diff --git a/packages/web-components-config-server/package.json b/packages/web-components-config-server/package.json index b24f722fb3..fb7c26dbcb 100644 --- a/packages/web-components-config-server/package.json +++ b/packages/web-components-config-server/package.json @@ -10,8 +10,8 @@ "scripts": { "lint": "concurrently \"tsc --noEmit\" \"eslint --cache --ext=ts,js src\"", "lint:fix": "eslint --cache --ext=ts,js src --fix", - "test:ci": "yarn build:credentials && cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit", - "test:dev": "yarn build:credentials && cross-env TZ=UTC jest --watch --verbose", + "test:ci": "cross-env TZ=UTC jest --ci --colors --coverage --silent --forceExit", + "test:dev": "cross-env TZ=UTC jest --watch --verbose", "start:dev": "yarn build:credentials && SLS_DEBUG=* serverless offline --verbose", "build:serverless": "yarn build:credentials && serverless webpack --out dist --stage dev", "release:dev": "yarn build:credentials && serverless deploy --stage dev", diff --git a/packages/web-components-config-server/src/__tests__/app.test.ts b/packages/web-components-config-server/src/__tests__/app.test.ts index 3e89258f07..e34404b480 100644 --- a/packages/web-components-config-server/src/__tests__/app.test.ts +++ b/packages/web-components-config-server/src/__tests__/app.test.ts @@ -4,6 +4,7 @@ jest.mock('../logger') jest.mock('uuid/v4', (): (() => string) => { return () => 'mockUUID' }) +jest.mock('aws-sdk') describe('app', () => { describe('parseLog', () => {