feat: import job runner in-memory
- Añade ImportRunner en memoria con concurrencia configurable - Tests TDD para enqueue, concurrencia y comportamiento tras stop - Actualiza /api/import/scan para encolar jobs y registrar errores - Ajusta tsconfig.json para incluir tests en comprobaciones de tipo
This commit is contained in:
9
backend/tests/fixtures/dats/sample-no-intro.dat.xml
vendored
Normal file
9
backend/tests/fixtures/dats/sample-no-intro.dat.xml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<datafile>
|
||||
<header>
|
||||
<name>Sample No-Intro DAT</name>
|
||||
</header>
|
||||
<game name="Simple ROM">
|
||||
<rom name="simple-rom.bin" size="16" crc="DEADBEEF" md5="00000000000000000000000000000000" sha1="0000000000000000000000000000000000000000" />
|
||||
</game>
|
||||
</datafile>
|
||||
1
backend/tests/fixtures/empty/.gitkeep
vendored
Normal file
1
backend/tests/fixtures/empty/.gitkeep
vendored
Normal file
@@ -0,0 +1 @@
|
||||
// placeholder to ensure directory exists; scanner ignores dotfiles
|
||||
1
backend/tests/fixtures/nested/nested-rom.bin
vendored
Normal file
1
backend/tests/fixtures/nested/nested-rom.bin
vendored
Normal file
@@ -0,0 +1 @@
|
||||
NESTED-ROM-TEST
|
||||
1
backend/tests/fixtures/simple-rom.bin
vendored
Normal file
1
backend/tests/fixtures/simple-rom.bin
vendored
Normal file
@@ -0,0 +1 @@
|
||||
SIMPLE-ROM-TEST
|
||||
Reference in New Issue
Block a user