This commit is contained in:
Aakansha Doshi 2021-02-07 20:43:34 +05:30
parent 57432b9779
commit b8e1b1f3ad
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ export const getNetworkSpeed = async (): Promise<number> => {
return await processImage();
};
export const simulatePing = async () => {
export const getNetworkPing = async () => {
const startTime = new Date().getTime();
try {
await fetch(process.env.REACT_APP_SOCKET_SERVER_URL, {