2024-05-29 20:44:36 -07:00
|
|
|
import "#app/test/fontFace.setup";
|
2024-06-16 00:26:37 -04:00
|
|
|
import "vitest-canvas-mock";
|
|
|
|
|
|
|
|
import { initLoggedInUser } from "#app/account";
|
|
|
|
import { initAbilities } from "#app/data/ability";
|
|
|
|
import { initBiomes } from "#app/data/biomes";
|
|
|
|
import { initEggMoves } from "#app/data/egg-moves";
|
|
|
|
import { initMoves } from "#app/data/move";
|
|
|
|
import { initPokemonPrevolutions } from "#app/data/pokemon-evolutions";
|
|
|
|
import { initPokemonForms } from "#app/data/pokemon-forms";
|
|
|
|
import { initSpecies } from "#app/data/pokemon-species";
|
|
|
|
import { initAchievements } from "#app/system/achv.js";
|
2024-06-07 23:50:07 -04:00
|
|
|
import { initVouchers } from "#app/system/voucher.js";
|
2024-06-16 00:26:37 -04:00
|
|
|
import { initStatsKeys } from "#app/ui/game-stats-ui-handler";
|
|
|
|
|
|
|
|
import { beforeAll } from "vitest";
|
2024-05-24 19:46:30 +02:00
|
|
|
|
2024-06-07 23:50:07 -04:00
|
|
|
initVouchers();
|
2024-06-08 00:33:45 +02:00
|
|
|
initAchievements();
|
2024-05-24 19:46:30 +02:00
|
|
|
initStatsKeys();
|
|
|
|
initPokemonPrevolutions();
|
|
|
|
initBiomes();
|
|
|
|
initEggMoves();
|
|
|
|
initPokemonForms();
|
|
|
|
initSpecies();
|
|
|
|
initMoves();
|
|
|
|
initAbilities();
|
2024-06-13 14:42:25 +02:00
|
|
|
initLoggedInUser();
|
2024-06-08 21:54:20 +02:00
|
|
|
|
|
|
|
global.testFailed = false;
|
2024-06-16 00:26:37 -04:00
|
|
|
|
|
|
|
beforeAll(() => {
|
|
|
|
Object.defineProperty(document, "fonts", {
|
|
|
|
writable: true,
|
|
|
|
value: {
|
|
|
|
add: () => {},
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|