From e5c1e1761bae03ff2396759b2fc0bbf07046dd5c Mon Sep 17 00:00:00 2001 From: Reinder Kraaij <kraaij@astron.nl> Date: Thu, 26 Oct 2023 10:06:26 +0200 Subject: [PATCH] allow failure on ci image --- .gitlab-ci.yml | 2 +- .../Timeline/helpers/toolbar/zoomandmove.helper.test.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 949edc8f30e..fbdd554fafc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -116,7 +116,7 @@ prepare_ci_mac_docker_image: script: - docker build --build-arg BASE_VERSION=$CI_COMMIT_SHORT_SHA -t ci_mac:$CI_COMMIT_SHORT_SHA -f Docker/lofar-ci/Dockerfile_ci_mac . interruptible: true - + allow_failure: true # # BUILD STAGE # diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/toolbar/zoomandmove.helper.test.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/toolbar/zoomandmove.helper.test.js index e9486d21139..aed57ae055f 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/toolbar/zoomandmove.helper.test.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/toolbar/zoomandmove.helper.test.js @@ -47,7 +47,7 @@ describe('getZoomTimes', () => { expect(result.start.format('HH:mm:ss')).toEqual('00:00:00'); expect(result.end.format('HH:mm:ss')).toEqual('23:59:59'); }); - // TODO : Fix Unit Test returns calculated times when selectedZoomLevel has minutes + it('returns calculated times when selectedZoomLevel has minutes', () => { const selectedZoomLevel = { hours: 0, minutes: 30 }; @@ -60,7 +60,7 @@ describe('getZoomTimes', () => { expect(result.start.format('HH:mm:ss')).toEqual(expectedStart); expect(result.end.format('HH:mm:ss')).toEqual(expectedEnd); }); - // TODO : Fix Unit Test returns calculated times when selectedZoomLevel has hours + it('returns calculated times when selectedZoomLevel has hours', () => { const selectedZoomLevel = { hours: 3, minutes: 0 }; -- GitLab