diff --git a/src/index.ts b/src/index.ts index d6c13aa9..9ddb237b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -141,7 +141,7 @@ export const getGPUTier = async ({ } }; - const queryBenchmarks = async (renderer: string) => { + async function queryBenchmarks(renderer: string) { const type = getGpuType(renderer); if (!type) { return; diff --git a/test/index.test.ts b/test/index.test.ts index 6aab68a5..82a93ccf 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -126,10 +126,6 @@ for (const { input, expected } of [ isIpad: true, isMobile: true, renderer: 'Apple A12X GPU', - screen: { - height: 1668, - width: 2224, - }, }, }, {