Skip to content

Commit f9961fa

Browse files
committed
fix@pkmn/data test to account for dex-moves caching
1 parent e147b21 commit f9961fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

data/index.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ for (const [pkg, Dex] of Object.entries(DATA)) {
237237
});
238238

239239
it('cached', () => {
240-
const a = Gen(6).moves.get('Earthquake');
241-
const b = Gen(6).moves.get('Earthquake');
242-
const c = Gen(7).moves.get('Earthquake');
240+
const a = Gen(1).moves.get('Earthquake');
241+
const b = Gen(1).moves.get('Earthquake');
242+
const c = Gen(2).moves.get('Earthquake');
243243

244244
expect(b).toBe(a);
245245
expect(c).not.toBe(a);

0 commit comments

Comments
 (0)