From 92d15071a1288d85cd539b2673737d2389e71d03 Mon Sep 17 00:00:00 2001 From: Nial <48334675+nmcc1212@users.noreply.github.com> Date: Thu, 11 Apr 2024 15:40:44 +0100 Subject: [PATCH] Fix indentation issue in Jenkinsfile --- Jenkins/Jenkinsfile | 2 + next/news-aggregation/test-report.html | 260 +++++++++++++++++++++++++ 2 files changed, 262 insertions(+) create mode 100644 next/news-aggregation/test-report.html diff --git a/Jenkins/Jenkinsfile b/Jenkins/Jenkinsfile index e8e423c..adfb18a 100644 --- a/Jenkins/Jenkinsfile +++ b/Jenkins/Jenkinsfile @@ -64,6 +64,8 @@ pipeline { dir ('next/news-aggregation') { sh 'npm test' } + } + } post { always { archiveArtifacts artifacts: 'next/news-aggregation/__tests__/coverage/lcov-report/**', allowEmptyArchive: true diff --git a/next/news-aggregation/test-report.html b/next/news-aggregation/test-report.html new file mode 100644 index 0000000..b290967 --- /dev/null +++ b/next/news-aggregation/test-report.html @@ -0,0 +1,260 @@ +Nial's Amazing Test Report

Nial's Amazing Test Report

Started: 2024-04-11 15:38:16
Suites (3)
3 passed
0 failed
0 pending
Tests (9)
9 passed
0 failed
0 pending
NavBar component
renders the navbar
passed
0.024s
NewsList
renders loading state initially
passed
0.003s
NewsList
renders news items after data fetching
passed
0.086s
NewsList
should console.error on failed axios request
passed
0.008s
NewsList
should filter news items by search query
passed
0.007s
NewsList
should set treding words to commoun words
passed
0.013s
App component
renders App component
passed
0.033s
App component
navigates to Ukraine News when the route is changed
passed
0.074s
App component
navigates to World News when the route is changed
passed
0.044s
\ No newline at end of file