fal-batch.test.mjs

Tools · A check on the result · MIT

What it does

Nine tests for the Fal helper that run against a mocked network: concurrency, resuming without paying twice, uncertain submissions never retried, retry after a connection that never opened, sanitized 422 errors, partial responses.

Get it

node --test scripts/fal-batch.test.mjs

Source on GitHub
Needs

Node 18 or newer

License

MIT

License notes are on the pack's page

From

dream-loop

Everything from dream-loop in the gallery

Back to the Asset Library