diff --git a/lib/plugins/aws/package/compile/events/cloudWatchEvent/index.js b/lib/plugins/aws/package/compile/events/cloudWatchEvent.js similarity index 100% rename from lib/plugins/aws/package/compile/events/cloudWatchEvent/index.js rename to lib/plugins/aws/package/compile/events/cloudWatchEvent.js diff --git a/lib/plugins/index.js b/lib/plugins/index.js index b81f3afcb..94222c1a6 100644 --- a/lib/plugins/index.js +++ b/lib/plugins/index.js @@ -45,7 +45,7 @@ module.exports = [ require('./aws/package/compile/events/alexaSkill.js'), require('./aws/package/compile/events/alexaSmartHome.js'), require('./aws/package/compile/events/iot/index.js'), - require('./aws/package/compile/events/cloudWatchEvent/index.js'), + require('./aws/package/compile/events/cloudWatchEvent.js'), require('./aws/package/compile/events/cloudWatchLog/index.js'), require('./aws/package/compile/events/cognitoUserPool/index.js'), require('./aws/package/compile/events/eventBridge/index.js'), diff --git a/test/unit/lib/plugins/aws/package/compile/events/cloudWatchEvent/index.test.js b/test/unit/lib/plugins/aws/package/compile/events/cloudWatchEvent.test.js similarity index 97% rename from test/unit/lib/plugins/aws/package/compile/events/cloudWatchEvent/index.test.js rename to test/unit/lib/plugins/aws/package/compile/events/cloudWatchEvent.test.js index 10fcd3884..a392225a8 100644 --- a/test/unit/lib/plugins/aws/package/compile/events/cloudWatchEvent/index.test.js +++ b/test/unit/lib/plugins/aws/package/compile/events/cloudWatchEvent.test.js @@ -1,9 +1,9 @@ 'use strict'; const expect = require('chai').expect; -const AwsProvider = require('../../../../../../../../../lib/plugins/aws/provider/awsProvider'); -const AwsCompileCloudWatchEventEvents = require('../../../../../../../../../lib/plugins/aws/package/compile/events/cloudWatchEvent/index'); -const Serverless = require('../../../../../../../../../lib/Serverless'); +const AwsProvider = require('../../../../../../../../lib/plugins/aws/provider/awsProvider'); +const AwsCompileCloudWatchEventEvents = require('../../../../../../../../lib/plugins/aws/package/compile/events/cloudWatchEvent'); +const Serverless = require('../../../../../../../../lib/Serverless'); describe('awsCompileCloudWatchEventEvents', () => { let serverless;