We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd93000 commit b6e8cb6Copy full SHA for b6e8cb6
1 file changed
test/unit/sinks/eventbridge.test.js
@@ -8,6 +8,11 @@ import { publishToEventBridge as publish } from '../../../src/sinks/eventbridge'
8
import Connector from '../../../src/connectors/eventbridge';
9
10
describe('sinks/eventbridge.js', () => {
11
+ const origBatchSize = process.env.BATCH_SIZE;
12
+ afterEach(() => {
13
+ // set back to state specified in package.json
14
+ process.env.BATCH_SIZE = origBatchSize;
15
+ });
16
afterEach(sinon.restore);
17
18
it('should batch and publish', (done) => {
0 commit comments