@@ -52,39 +52,6 @@ suite('TensorBoard file system watcher', async () => {
5252 }
5353 } ) ;
5454
55- test ( 'Preexisting tfeventfile in workspace root results in prompt being shown' , async ( ) => {
56- await createFiles ( currentDirectory ) ;
57- await configureStubsAndActivate ( ) ;
58- assert . ok ( showNativeTensorBoardPrompt . called ) ;
59- } ) ;
60-
61- test ( 'Preexisting tfeventfile one directory down results in prompt being shown' , async ( ) => {
62- const dir1 = path . join ( currentDirectory , '1' ) ;
63- await createFiles ( dir1 ) ;
64- await configureStubsAndActivate ( ) ;
65- assert . ok ( showNativeTensorBoardPrompt . called ) ;
66- } ) ;
67-
68- test ( 'Preexisting tfeventfile two directories down results in prompt being called' , async ( ) => {
69- const dir2 = path . join ( currentDirectory , '1' , '2' ) ;
70- await createFiles ( dir2 ) ;
71- await configureStubsAndActivate ( ) ;
72- assert . ok ( showNativeTensorBoardPrompt . called ) ;
73- } ) ;
74-
75- test ( 'Preexisting tfeventfile three directories down does not result in prompt being called' , async ( ) => {
76- const dir3 = path . join ( currentDirectory , '1' , '2' , '3' ) ;
77- await createFiles ( dir3 ) ;
78- await configureStubsAndActivate ( ) ;
79- assert . ok ( showNativeTensorBoardPrompt . notCalled ) ;
80- } ) ;
81-
82- test ( 'Creating tfeventfile in workspace root results in prompt being shown' , async ( ) => {
83- await configureStubsAndActivate ( ) ;
84- await createFiles ( currentDirectory ) ;
85- await waitForCondition ( async ( ) => showNativeTensorBoardPrompt . called , 5000 , 'Prompt not shown' ) ;
86- } ) ;
87-
8855 test ( 'Creating tfeventfile one directory down results in prompt being shown' , async ( ) => {
8956 const dir1 = path . join ( currentDirectory , '1' ) ;
9057 await configureStubsAndActivate ( ) ;
0 commit comments