Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

fix(healthyFrank): change onHover for onMouseOver #104

Merged
merged 1 commit into from
Apr 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions __tests__/integration/one-app.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,7 @@ describe('Tests that require Docker setup', () => {
},
],
secretMessage: 'you are being watched',
loadedOnServer: true,
});
});

Expand Down Expand Up @@ -978,6 +979,7 @@ describe('Tests that can run against either local Docker setup or remote One App
data: {
posts: [{ id: 1, title: 'json-server', author: 'typicode' }],
secretMessage: null,
loadedOnServer: false,
},
});
});
Expand All @@ -1000,6 +1002,7 @@ describe('Tests that can run against either local Docker setup or remote One App
data: {
posts: [{ id: 1, title: 'json-server', author: 'typicode' }],
secretMessage: null,
loadedOnServer: false,
},
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export function HealthyFrank({ children, prefetch }) {
|
<Link
className="prefetch-ssr-frank"
onHover={onPreFetch}
onMouseOver={onPreFetch}
onFocus={onPreFetch}
to="/healthy-frank/ssr-frank"
>
prefetch baby frank
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const loadModuleData = async ({ store, fetchClient }) => {
data: {
posts,
secretMessage,
loadedOnServer: !global.BROWSER,
},
});
};
Expand Down