mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
refactor: Rename …compile/events/lib/ensureApiGatewayCloudWatchRole.js
This commit is contained in:
parent
364e52ad7c
commit
f2a4f96f36
@ -5,7 +5,7 @@
|
||||
// NOTE: --> Keep this file in sync with ./hack/updateStage.js
|
||||
|
||||
const _ = require('lodash');
|
||||
const ensureApiGatewayCloudWatchRole = require('../../lib/ensureApiGatewayCloudWatchRole');
|
||||
const ensureApiGatewayCloudWatchRole = require('../../lib/ensure-api-gateway-cloud-watch-role');
|
||||
|
||||
module.exports = {
|
||||
async compileStage() {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
const BbPromise = require('bluebird');
|
||||
const ensureApiGatewayCloudWatchRole = require('../../lib/ensureApiGatewayCloudWatchRole');
|
||||
const ensureApiGatewayCloudWatchRole = require('../../lib/ensure-api-gateway-cloud-watch-role');
|
||||
const ServerlessError = require('../../../../../../../serverless-error');
|
||||
|
||||
const defaultLogLevel = 'INFO';
|
||||
|
||||
@ -18,7 +18,7 @@ describe('ensureApiGatewayCloudWatchRole', () => {
|
||||
beforeEach(() => {
|
||||
addCustomResourceToServiceStub = sinon.stub().resolves();
|
||||
ensureApiGatewayCloudWatchRole = proxyquire(
|
||||
'../../../../../../../../../lib/plugins/aws/package/compile/events/lib/ensureApiGatewayCloudWatchRole',
|
||||
'../../../../../../../../../lib/plugins/aws/package/compile/events/lib/ensure-api-gateway-cloud-watch-role',
|
||||
{
|
||||
'../../../../custom-resources': {
|
||||
addCustomResourceToService: addCustomResourceToServiceStub,
|
||||
Loading…
x
Reference in New Issue
Block a user