Skip to content

Commit 19d510a

Browse files
authored
Merge pull request #94 from gabriellebaudy/master
fix(issues/89): Fixed production build, tests
2 parents b28d855 + d50f6c9 commit 19d510a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export const getGPUTier = async ({
141141
}
142142
};
143143

144-
const queryBenchmarks = async (renderer: string) => {
144+
async function queryBenchmarks(renderer: string) {
145145
const type = getGpuType(renderer);
146146
if (!type) {
147147
return;

test/index.test.ts

-4
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@ for (const { input, expected } of [
126126
isIpad: true,
127127
isMobile: true,
128128
renderer: 'Apple A12X GPU',
129-
screen: {
130-
height: 1668,
131-
width: 2224,
132-
},
133129
},
134130
},
135131
{

0 commit comments

Comments
 (0)