@@ -29,23 +29,23 @@ describe('SelectReport', () => {
29
29
} )
30
30
31
31
it ( 'should show a QuickPick with report file paths' , async ( ) => {
32
- const quickPick = command . execute ( )
33
- const selectedOption = quickPick . optionsWithCallBacks . get ( PROJECT_REPORT_PATH_001 )
32
+ const quickPick = command . execute ( ) !
33
+ const selectedOption = quickPick . optionsWithCallBacks . get ( './profiles/session/001.oak' )
34
34
selectedOption ?. selectionCallback ( )
35
35
36
36
expect ( container . storage . storeWorkspace ) . toBeCalled ( )
37
37
38
- const quickPick2 = await command . execute ( )
39
- expect ( quickPick2 . vsCodeComponent . activeItems ) . toEqual ( [ { label : PROJECT_REPORT_PATH_001 } ] )
38
+ const quickPick2 = await command . execute ( ) !
39
+ expect ( quickPick2 . vsCodeComponent . activeItems ) . toEqual ( [ { label : './profiles/session/001.oak' } ] )
40
40
} )
41
41
42
42
it ( 'should have active item' , async ( ) => {
43
- const quickPick = command . execute ( )
44
- const selectedOption = quickPick . optionsWithCallBacks . get ( PROJECT_REPORT_PATH_001 )
43
+ const quickPick = command . execute ( ) !
44
+ const selectedOption = quickPick . optionsWithCallBacks . get ( './profiles/session/001.oak' )
45
45
selectedOption ?. selectionCallback ( )
46
46
47
- const quickPick2 = await command . execute ( )
48
- expect ( quickPick2 . vsCodeComponent . activeItems ) . toEqual ( [ { label : PROJECT_REPORT_PATH_001 } ] )
47
+ const quickPick2 = await command . execute ( ) !
48
+ expect ( quickPick2 . vsCodeComponent . activeItems ) . toEqual ( [ { label : './profiles/session/001.oak' } ] )
49
49
} )
50
50
51
51
it ( 'should show a message when no reports are available' , async ( ) => {
0 commit comments