tools/id-tests: Import games directly from file

This commit is contained in:
Douile 2024-01-10 20:38:39 +00:00
parent 5edd10db2e
commit c2d251b390
No known key found for this signature in database
GPG Key ID: E048586A5FF6585C
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
import { spawnSync } from 'node:child_process';
import process from 'node:process';
import { games } from './../lib/index.js';
// Import directly from file so that this script works without dependencies installed.
import { games } from './../lib/games.js';
const ID_TEST_BIN = process.env["GAMEDIG_ID_TESTER"] || "gamedig-id-tests";