Skip to content

Commit a2195ab

Browse files
committed
🐛 fix: tests
1 parent f361a32 commit a2195ab

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

frontend/js/pages/__tests__/Home.spec.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ jest.mock('@/js/api', () => ({
1111
describe('Home', () => {
1212
beforeEach(() => {
1313
(restRestCheckRetrieve as jest.Mock).mockResolvedValue({
14-
message: 'Test Result',
14+
data: {
15+
message: 'Test Result',
16+
},
1517
});
1618
});
1719

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "new_styling-frontend",
2+
"name": "{{project_name}}-frontend",
33
"version": "0.0.1",
44
"private": true,
5-
"description": "new_styling frontend.",
5+
"description": "{{project_name}} frontend.",
66
"engines": {
77
"node": ">=22 <23"
88
},

0 commit comments

Comments
 (0)