From 1825c3faa51ff18318e6c335fc4e5ae8372d329e Mon Sep 17 00:00:00 2001
From: miguelangelrl <12910511+MiguelAngelRL@users.noreply.github.com>
Date: Wed, 12 Mar 2025 19:47:39 +0100
Subject: [PATCH 1/2] change index.html to run workflow
---
Module04_CI_CD/github_actions/hangman-front/src/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Module04_CI_CD/github_actions/hangman-front/src/index.html b/Module04_CI_CD/github_actions/hangman-front/src/index.html
index fe3ccb9..804b1bf 100644
--- a/Module04_CI_CD/github_actions/hangman-front/src/index.html
+++ b/Module04_CI_CD/github_actions/hangman-front/src/index.html
@@ -6,7 +6,7 @@
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
/>
-
Hangman
+ Hangman CI change
From a67c4298ce78d9cc3fae529e31517d191efb54a5 Mon Sep 17 00:00:00 2001
From: miguelangelrl <12910511+MiguelAngelRL@users.noreply.github.com>
Date: Wed, 12 Mar 2025 19:51:17 +0100
Subject: [PATCH 2/2] fix unit test
---
.../hangman-front/src/components/start-game.spec.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Module04_CI_CD/github_actions/hangman-front/src/components/start-game.spec.tsx b/Module04_CI_CD/github_actions/hangman-front/src/components/start-game.spec.tsx
index 21141f3..a357be2 100644
--- a/Module04_CI_CD/github_actions/hangman-front/src/components/start-game.spec.tsx
+++ b/Module04_CI_CD/github_actions/hangman-front/src/components/start-game.spec.tsx
@@ -13,7 +13,7 @@ describe('StartGame component specs', () => {
const items = await screen.findAllByRole('listitem');
- expect(items).toHaveLength(1);
+ expect(items).toHaveLength(2);
expect(getTopicsStub).toHaveBeenCalled();
});
});