Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(profile-ui): r2-l1 resolve discovery mock by default

Josué5a8d6a88a1d5
diff --git a/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx b/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx
index c6feeaa31..1edefd524 100644
--- a/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx
+++ b/profile-ui/app/components/__tests__/ProfilePortalHome.test.tsx
@@ -45,7 +45,7 @@ vi.mock('next/link', () => ({
beforeEach(() => {
api.getDesktopEnvironment.mockReset()
- api.getDesktopEnvironment.mockImplementation(() => desktopEnvironment)
+ api.getDesktopEnvironment.mockResolvedValue(desktopEnvironment)
})
afterEach(cleanup)
@@ -86,7 +86,6 @@ describe('Profile Portal home desktop setup link', () => {
it('labels the environment setup handoff accurately', async () => {
const environment = desktopEnvironment
- api.getDesktopEnvironment.mockResolvedValue(environment)
render(<Page />)
diff --git a/profile-ui/package-lock.json b/profile-ui/package-lock.json
index 8198e32ac..991bf859b 100644
--- a/profile-ui/package-lock.json
+++ b/profile-ui/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.153",
+ "version": "0.1.154",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-profile-ui",
- "version": "0.1.153",
+ "version": "0.1.154",
"dependencies": {
"@clerum/desktop-app-links": "file:../packages/desktop-app-links",
"@clerum/frontend-components": "file:../packages/frontend-components",
diff --git a/profile-ui/package.json b/profile-ui/package.json
index b08228120..d5d7f8354 100644
--- a/profile-ui/package.json
+++ b/profile-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-profile-ui",
- "version": "0.1.153",
+ "version": "0.1.154",
"private": true,
"scripts": {
"dev": "next dev",