From 2439c0702c82e640a3c68f1d25da642cb452e675 Mon Sep 17 00:00:00 2001 From: Anita Stanisz Date: Wed, 1 May 2024 14:43:49 +0200 Subject: [PATCH] introducing issues --- .github/Dockerfile | 38 ---------------------------- src/jest/testing-component.tsx | 46 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 38 deletions(-) delete mode 100644 .github/Dockerfile diff --git a/.github/Dockerfile b/.github/Dockerfile deleted file mode 100644 index 65201f4..0000000 --- a/.github/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -FROM public.ecr.aws/docker/library/amazoncorretto:17.0.9 AS core - -ARG FD_VERSION=8.0-SNAPSHOT -ENV ENV_TYPE="" \ - VERSION=${SONARCLOUD_VERSION} \ - HOME=/opt/fd \ - JDBC_USERNAME=fd \ - JDBC_PASSWORD=fd \ - JDBC_URL="jdbc:postgresql://localhost/fd" \ - JWT_BASE64_HS256_SECRET="" - -RUN yum install -y jq shadow-utils unzip \ - && yum clean all \ - && rm -rf /var/cache/yum - -# Http port -EXPOSE 9000 -EXPOSE 9001 - -RUN groupadd -r fd && useradd -r -g fd fd - -SHELL ["/bin/bash", "-c"] -COPY sonarqube-${VERSION} $HOME -RUN chown -R fd:fd $HOME \ - && rm -rf $HOME/bin/* - -VOLUME "$HOME/data" - -COPY run.sh $HOME/bin/ - -WORKDIR $HOME - -USER fd -ENTRYPOINT ["./bin/run.sh"] - -# BOM file is generated in build.sh from core stage image before this final stage -FROM core -COPY bom.json bom.json.asc ./ diff --git a/src/jest/testing-component.tsx b/src/jest/testing-component.tsx index bcf3b91..24c5b7d 100644 --- a/src/jest/testing-component.tsx +++ b/src/jest/testing-component.tsx @@ -1,5 +1,51 @@ import { useState } from 'react' +export const timeFormat = 'HH:mm:ss' +export const timeFormat2 = 'HH:mm:ss' +export const timeFormat3 = 'HH:mm:ss' +export const timeFormat4 = 'HH:mm:ss' +export const timeFormat5 = 'HH:mm:ss' + +export function echo() { + console.error(); + console.error(); + console.error(); + console.error(); + console.error(); +} + +export function echo2() { + console.log(); + console.log(); + console.log(); + console.log(); + console.log(); +} + +export function echo3() { + console.error(); + console.error(); + console.error(); + console.error(); + console.error(); +} + +export function echo4() { + console.error(); + console.error(); + console.error(); + console.error(); + console.error(); +} + +export function echo5() { + console.error(); + console.error(); + console.error(); + console.error(); + console.error(); +} + const STATUS = { HOVERED: 'hovered', NORMAL: 'normal'