mirror of
https://github.com/strapi/strapi.git
synced 2025-07-27 19:10:01 +00:00
13 lines
211 B
JavaScript
13 lines
211 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
default: {
|
|
testConf: 1,
|
|
},
|
|
validator: config => {
|
|
if (typeof config.testConf !== 'number') {
|
|
throw new Error('testConfig has to be a number');
|
|
}
|
|
},
|
|
};
|