Skip to content

Commit 85c0863

Browse files
committed
renaem
1 parent a3eeb9b commit 85c0863

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/index.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -152,13 +152,13 @@ describe('unifont', () => {
152152
await unifontA.resolveFont('Poppins')
153153
await unifontB.resolveFont('Poppins')
154154

155-
const provider1CacheKey = storage.setItem.mock.calls.at(0)?.at(0) as string | undefined
156-
const provider2CacheKey = storage.setItem.mock.calls.at(1)?.at(0) as string | undefined
155+
const providerACacheKey = storage.setItem.mock.calls.at(0)?.at(0) as string | undefined
156+
const providerBCacheKey = storage.setItem.mock.calls.at(1)?.at(0) as string | undefined
157157

158158
expect(storage.setItem).toHaveBeenCalledTimes(2)
159-
expect(provider1CacheKey).toBeDefined()
160-
expect(provider2CacheKey).toBeDefined()
161-
expect(provider1CacheKey).not.toBe(provider2CacheKey)
159+
expect(providerACacheKey).toBeDefined()
160+
expect(providerBCacheKey).toBeDefined()
161+
expect(providerACacheKey).not.toBe(providerBCacheKey)
162162
})
163163

164164
it('uses isolated storage per provider\'s options', async () => {

0 commit comments

Comments
 (0)