@@ -96,12 +96,12 @@ describe("windows scanning", () => {
9696
9797 console . log ( "=== DEBUG: Starting scan ===" ) ;
9898 console . log ( "Image:" , imageNameAndTag ) ;
99-
99+
100100 const pluginResult = await plugin . scan ( {
101101 path : imageNameAndTag ,
102102 "exclude-app-vulns" : true ,
103103 } ) ;
104-
104+
105105 console . log ( "Scan completed successfully" ) ;
106106
107107 const depGraph : DepGraph = pluginResult . scanResults [ 0 ] . facts . find (
@@ -113,18 +113,20 @@ describe("windows scanning", () => {
113113 const imageLayers : string [ ] = pluginResult . scanResults [ 0 ] . facts . find (
114114 ( fact ) => fact . type === "imageLayers" ,
115115 ) ! . data ;
116-
116+
117117 // Debug output
118118 console . log ( "=== DEBUG: imageLayers ===" ) ;
119119 console . log ( "Total layers:" , imageLayers . length ) ;
120120 imageLayers . forEach ( ( layer , index ) => {
121121 console . log ( `Layer ${ index } : "${ layer } "` ) ;
122122 console . log ( ` - basename: "${ path . basename ( layer ) } "` ) ;
123123 console . log ( ` - endsWith("layer.tar"): ${ layer . endsWith ( "layer.tar" ) } ` ) ;
124- console . log ( ` - endsWith("\\\\layer.tar"): ${ layer . endsWith ( "\\layer.tar" ) } ` ) ;
124+ console . log (
125+ ` - endsWith("\\\\layer.tar"): ${ layer . endsWith ( "\\layer.tar" ) } ` ,
126+ ) ;
125127 } ) ;
126128 console . log ( "=========================" ) ;
127-
129+
128130 expect ( imageLayers . length ) . toBeGreaterThan ( 0 ) ;
129131 expect (
130132 imageLayers . every ( ( layer ) => path . basename ( layer ) === "layer.tar" ) ,
0 commit comments