Skip to content

Commit

Permalink
Merge pull request #2757 from simlu/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
simlu authored Sep 1, 2022
2 parents a433996 + 30cd625 commit e24f8ee
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions src/plugin/tasks/struct/snippets/src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as lambdaMonitor from 'lambda-monitor';
import lambdaMonitor from 'lambda-monitor';

export const batcherHandler = lambdaMonitor.batcherHandler;
export const bundlerHandler = lambdaMonitor.bundlerHandler;
export const processLogs = lambdaMonitor.processLogs;
export const subscribe = lambdaMonitor.subscribe;
export const emptyBucket = lambdaMonitor.emptyBucket;
export const batcherHandler = lambdaMonitor.exports.batcherHandler;
export const bundlerHandler = lambdaMonitor.exports.bundlerHandler;
export const processLogs = lambdaMonitor.exports.processLogs;
export const subscribe = lambdaMonitor.exports.subscribe;
export const emptyBucket = lambdaMonitor.exports.emptyBucket;
6 changes: 3 additions & 3 deletions src/plugin/tasks/struct/snippets/test/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { expect } from 'chai';
import index from '../src/index.js';
import * as index from '../src/index.js';

describe('Testing index.js', () => {
it('Testing Exports', () => {
expect(Object.keys(index)).to.deep.equal([
'batcherHandler',
'bundlerHandler',
'emptyBucket',
'processLogs',
'subscribe',
'emptyBucket'
'subscribe'
]);
});
});
12 changes: 6 additions & 6 deletions test/projects/assorted/@default/src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as lambdaMonitor from 'lambda-monitor';
import lambdaMonitor from 'lambda-monitor';

export const batcherHandler = lambdaMonitor.batcherHandler;
export const bundlerHandler = lambdaMonitor.bundlerHandler;
export const processLogs = lambdaMonitor.processLogs;
export const subscribe = lambdaMonitor.subscribe;
export const emptyBucket = lambdaMonitor.emptyBucket;
export const batcherHandler = lambdaMonitor.exports.batcherHandler;
export const bundlerHandler = lambdaMonitor.exports.bundlerHandler;
export const processLogs = lambdaMonitor.exports.processLogs;
export const subscribe = lambdaMonitor.exports.subscribe;
export const emptyBucket = lambdaMonitor.exports.emptyBucket;
6 changes: 3 additions & 3 deletions test/projects/assorted/@default/test/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { expect } from 'chai';
import index from '../src/index.js';
import * as index from '../src/index.js';

describe('Testing index.js', () => {
it('Testing Exports', () => {
expect(Object.keys(index)).to.deep.equal([
'batcherHandler',
'bundlerHandler',
'emptyBucket',
'processLogs',
'subscribe',
'emptyBucket'
'subscribe'
]);
});
});

0 comments on commit e24f8ee

Please sign in to comment.