13 lines
213 B
JavaScript
Raw Normal View History

2021-09-01 18:38:40 +02:00
'use strict';
module.exports = {
default: {
testConf: 1,
},
2022-08-08 23:33:39 +02:00
validator: (config) => {
2021-09-01 18:38:40 +02:00
if (typeof config.testConf !== 'number') {
throw new Error('testConfig has to be a number');
}
},
};