From b195093eb8e578252111941bc245309fb5074375 Mon Sep 17 00:00:00 2001 From: Simone De Vittorio Date: Fri, 13 Dec 2024 13:29:14 +0100 Subject: [PATCH 1/3] chore(general): test github workflow --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e8530ce..a1dabf4 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,5 @@ Reactylon is licensed under the MIT License, with the inclusion of other depende - Babylon.js: Licensed under the Apache License, Version 2.0. For more details, visit the Babylon.js License. - React & React Native: Licensed under the MIT License. For more details, visit the React License. + +Test Github workflow \ No newline at end of file From 564ab7cccde9e1997b847af918cdb25df7bcc81b Mon Sep 17 00:00:00 2001 From: Simone De Vittorio Date: Sat, 14 Dec 2024 09:49:29 +0100 Subject: [PATCH 2/3] chore(general): test js resolution --- packages/library/jest.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/library/jest.config.js b/packages/library/jest.config.js index 13d36ac..c3b6417 100644 --- a/packages/library/jest.config.js +++ b/packages/library/jest.config.js @@ -9,6 +9,7 @@ export default { '^@props$': '/src/types/props.ts', '^@constants$': '/src/constants.ts', '^@utils/(.*)$': '/src/utils/$1', + '^(\\.{1,2}/.*)\\.js$': '$1' }, extensionsToTreatAsEsm: ['.ts', '.tsx'], transform: { From 1cdce6dd5c93e67d7ab0ec9e622421b3c527067d Mon Sep 17 00:00:00 2001 From: Simone De Vittorio Date: Sat, 14 Dec 2024 10:23:31 +0100 Subject: [PATCH 3/3] test(general): force test fail to test github workflow --- packages/library/src/components/hosts/MeshHost.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/library/src/components/hosts/MeshHost.test.tsx b/packages/library/src/components/hosts/MeshHost.test.tsx index c78de65..93ac77d 100644 --- a/packages/library/src/components/hosts/MeshHost.test.tsx +++ b/packages/library/src/components/hosts/MeshHost.test.tsx @@ -15,7 +15,7 @@ describe('Meshes tests', () => { const { scene, rerender } = render(); const box = scene.getMeshById(boxName) as Mesh; rerender(); - expect(box.position.equals(new Vector3(1, 1, 0))).toBeTruthy(); + expect(box.position.equals(new Vector3(1, 0, 0))).toBeTruthy(); }); test('should dispose the box', async () => {