Skip to content

Commit 98b702f

Browse files
committed
Added back LambdaInterface in Tracer.test
1 parent 7ffa71e commit 98b702f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/tracing/tests/unit/Tracer.test.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
import { LambdaInterface } from '../../examples/utils/lambda';
21
import { Tracer } from '../../src';
3-
import { Callback, Context } from 'aws-lambda/handler';
2+
import { Callback, Context, Handler } from 'aws-lambda/handler';
43
import { Segment, setContextMissingStrategy, Subsegment } from 'aws-xray-sdk-core';
54

5+
interface LambdaInterface {
6+
handler: Handler
7+
}
8+
69
jest.spyOn(console, 'debug').mockImplementation(() => null);
710
jest.spyOn(console, 'warn').mockImplementation(() => null);
811
jest.spyOn(console, 'error').mockImplementation(() => null);

0 commit comments

Comments
 (0)