Skip to content

Commit b15f15e

Browse files
committed
Adapt for jest.preset.ts to jest.preset.js renaming in workspace root
1 parent c6bee80 commit b15f15e

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

ts/apps/elasticity/horizontal-elasticity-strategy-controller/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV POLARIS_APP_NAME ${POLARIS_APP_NAME}
99

1010
# Copy package.json and similar files and download dependencies.
1111
# Copying only package.json files here allows us to cache the downloaded dependencies as a layer.
12-
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.ts nx.json package.json package-lock.json tsconfig.base.json ./
12+
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.js nx.json package.json package-lock.json tsconfig.base.json ./
1313
COPY ./tools ./tools
1414
RUN npm ci --unsafe-perm
1515

ts/apps/elasticity/vertical-elasticity-strategy-controller/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV POLARIS_APP_NAME ${POLARIS_APP_NAME}
99

1010
# Copy package.json and similar files and download dependencies.
1111
# Copying only package.json files here allows us to cache the downloaded dependencies as a layer.
12-
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.ts nx.json package.json package-lock.json tsconfig.base.json ./
12+
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.js nx.json package.json package-lock.json tsconfig.base.json ./
1313
COPY ./tools ./tools
1414
RUN npm ci --unsafe-perm
1515

ts/apps/metrics/predicted-cost-efficiency-controller/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV POLARIS_APP_NAME ${POLARIS_APP_NAME}
99

1010
# Copy package.json and similar files and download dependencies.
1111
# Copying only package.json files here allows us to cache the downloaded dependencies as a layer.
12-
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.ts nx.json package.json package-lock.json tsconfig.base.json ./
12+
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.js nx.json package.json package-lock.json tsconfig.base.json ./
1313
COPY ./tools ./tools
1414
RUN npm ci --unsafe-perm
1515

ts/apps/metrics/rest-api-cost-efficiency-controller/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV POLARIS_APP_NAME ${POLARIS_APP_NAME}
99

1010
# Copy package.json and similar files and download dependencies.
1111
# Copying only package.json files here allows us to cache the downloaded dependencies as a layer.
12-
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.ts nx.json package.json package-lock.json tsconfig.base.json ./
12+
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.js nx.json package.json package-lock.json tsconfig.base.json ./
1313
COPY ./tools ./tools
1414
RUN npm ci --unsafe-perm
1515

ts/apps/polaris-nx-e2e/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
module.exports = {
66
displayName: 'polaris-nx-e2e',
7-
preset: '../../jest.preset.ts',
7+
preset: '../../jest.preset.js',
88
globals: {
99
'ts-jest': {
1010
tsconfig: '<rootDir>/tsconfig.spec.json',

ts/apps/slo/cost-efficiency-slo-controller/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV POLARIS_APP_NAME ${POLARIS_APP_NAME}
99

1010
# Copy package.json and similar files and download dependencies.
1111
# Copying only package.json files here allows us to cache the downloaded dependencies as a layer.
12-
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.ts nx.json package.json package-lock.json tsconfig.base.json ./
12+
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.js nx.json package.json package-lock.json tsconfig.base.json ./
1313
COPY ./tools ./tools
1414
RUN npm ci --unsafe-perm
1515

ts/apps/slo/cpu-usage-slo-controller/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ENV POLARIS_APP_NAME ${POLARIS_APP_NAME}
99

1010
# Copy package.json and similar files and download dependencies.
1111
# Copying only package.json files here allows us to cache the downloaded dependencies as a layer.
12-
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.ts nx.json package.json package-lock.json tsconfig.base.json ./
12+
COPY angular.json decorate-angular-cli.js jest.config.ts jest.preset.js nx.json package.json package-lock.json tsconfig.base.json ./
1313
COPY ./tools ./tools
1414
RUN npm ci --unsafe-perm
1515

ts/libs/polaris-nx/src/util/docker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function generateDockerfileCopyWorkspaceConfig(host: Tree): string {
3535
appendIfExists('decorate-angular-cli.js');
3636
appendIfExists('workspace.json');
3737
appendIfExists('jest.config.ts');
38-
appendIfExists('jest.preset.ts');
38+
appendIfExists('jest.preset.js');
3939

4040
return `COPY ${files} ./`
4141
}

0 commit comments

Comments
 (0)