serverless/test/fixtures/configSchemaExtensionsError/test-plugin-with-colliding-function-property.js

22 lines
504 B
JavaScript

'use strict';
class TestPluginWithCollidingFunctionEventPropertyError {
constructor(serverless) {
serverless.configSchemaHandler.defineProvider('someProvider', {
function: {
properties: {
handler: { type: 'string' },
},
},
});
serverless.configSchemaHandler.defineFunctionProperties('someProvider', {
properties: {
handler: { type: 'string' },
},
});
}
}
module.exports = TestPluginWithCollidingFunctionEventPropertyError;