File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
lib/event_processor/event_builder Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import {
22
22
import { ImpressionEvent , ConversionEvent } from './user_event' ;
23
23
24
24
describe ( 'makeEventBatch' , ( ) => {
25
- it ( 'should build a batch with simgle impression event when experiment and variation are defined' , ( ) => {
25
+ it ( 'should build a batch with single impression event when experiment and variation are defined' , ( ) => {
26
26
const impressionEvent : ImpressionEvent = {
27
27
type : 'impression' ,
28
28
timestamp : 69 ,
@@ -220,7 +220,7 @@ describe('makeEventBatch', () => {
220
220
} )
221
221
} ) ;
222
222
223
- it ( 'should build a batch with single conversion event whenwhen tags object is defined' , ( ) => {
223
+ it ( 'should build a batch with single conversion event when tags object is defined' , ( ) => {
224
224
const conversionEvent : ConversionEvent = {
225
225
type : 'conversion' ,
226
226
timestamp : 69 ,
Original file line number Diff line number Diff line change @@ -81,8 +81,6 @@ export type ImpressionEvent = BaseUserEvent<'impression'> & {
81
81
} ;
82
82
83
83
export type ConversionEvent = BaseUserEvent < 'conversion' > & {
84
- type : 'conversion' ;
85
-
86
84
event : {
87
85
id : string | null ;
88
86
key : string ;
You can’t perform that action at this time.
0 commit comments