@@ -34,7 +34,7 @@ describe('EventExclusionPlugin', () => {
34
34
it ( '[Trace] Test (source min level: false)' , ( ) => { expect ( run ( 'Test' , 'Trace' , '@@log:Test' , 'false' ) ) . to . be . true ; } ) ;
35
35
it ( '[Trace] Test (source min level: no)' , ( ) => { expect ( run ( 'Test' , 'Trace' , '@@log:Test' , 'no' ) ) . to . be . true ; } ) ;
36
36
it ( '[Trace] Test (source min level: 0)' , ( ) => { expect ( run ( 'Test' , 'Trace' , '@@log:Test' , '0' ) ) . to . be . true ; } ) ;
37
- it ( '[Trace] Test (source min level: true)' , ( ) => { expect ( run ( 'Test' , 'Trace' , '@@log:Test' , 'true' ) ) . to . be . false ; } ) ;
37
+ it ( '[Trace] Test (source min level: true)' , ( ) => { expect ( run ( 'Test' , 'Trace' , '@@log:Test' , 'true' ) ) . to . be . false ; } ) ;
38
38
it ( '[Trace] Test (source min level: yes)' , ( ) => { expect ( run ( 'Test' , 'Trace' , '@@log:Test' , 'yes' ) ) . to . be . false ; } ) ;
39
39
it ( '[Trace] Test (source min level: 1)' , ( ) => { expect ( run ( 'Test' , 'Trace' , '@@log:Test' , '1' ) ) . to . be . false ; } ) ;
40
40
it ( '[Trace] Test (source min level: Debug)' , ( ) => { expect ( run ( 'Test' , 'Trace' , '@@log:Test' , 'Debug' ) ) . to . be . true ; } ) ;
@@ -116,7 +116,7 @@ describe('EventExclusionPlugin', () => {
116
116
}
117
117
118
118
const errorParser = new DefaultErrorParser ( ) ;
119
- const context = new EventPluginContext ( client , { type : 'error' , data : { } } ) ;
119
+ const context = new EventPluginContext ( client , { type : 'error' , data : { } } ) ;
120
120
context . event . data [ '@error' ] = errorParser . parse ( context , createException ( ) ) ;
121
121
122
122
const plugin = new EventExclusionPlugin ( ) ;
0 commit comments