Mock filesystem in configFile.spec.js

This commit is contained in:
Sander Declerck 2025-11-03 14:49:44 +01:00
parent 5304a7744a
commit 1e7cd74364
No known key found for this signature in database
2 changed files with 71 additions and 36 deletions

View file

@ -5,7 +5,10 @@ import { ui } from "../environment/userInteraction.js";
/**
* @typedef {Object} SafeChainConfig
* @property {any} scanTimeout // This should be a number
*
* This should be a number, but can be anything because it is user-input.
* We cannot trust the input and should add the necessary validations.
* @property {any} scanTimeout
*/
/**