File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed
test/unit/providers/process Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class MavenExtract extends AbstractClearlyDefinedProcessor {
1313 }
1414
1515 get toolVersion ( ) {
16- return '1.3.0 '
16+ return '1.3.1 '
1717 }
1818
1919 canHandle ( request ) {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class NuGetExtract extends AbstractClearlyDefinedProcessor {
1616 }
1717
1818 get toolVersion ( ) {
19- return '1.2.2 '
19+ return '1.2.3 '
2020 }
2121
2222 canHandle ( request ) {
Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ const SourceSpec = require('../../../../lib/sourceSpec')
77const EntitySpec = require ( '../../../../lib/entitySpec' )
88
99describe ( 'mavenExtract source discovery' , ( ) => {
10+ it ( 'verifies the version of the nuget extract' , ( ) => {
11+ const extractor = extract ( { } , ( ) => { } )
12+ expect ( extractor . _schemaVersion ) . to . equal ( '1.5.1' )
13+ } )
14+
1015 it ( 'handles no tags in GitHub and falls back to made up sourcearchive' , async ( ) => {
1116 const spec = createSpec ( 'test' )
1217 const extractor = extract ( { } , ( ) => null )
Original file line number Diff line number Diff line change @@ -95,6 +95,12 @@ function createRequest() {
9595}
9696
9797describe ( 'nugetExtract source discovery' , ( ) => {
98+ it ( 'verifies the version of the nuget extract' , ( ) => {
99+ const finder = sinon . stub ( ) . callsFake ( sourceDiscovery ( ) )
100+ const extractor = extract ( { } , finder )
101+ expect ( extractor . _schemaVersion ) . to . equal ( '1.4.3' )
102+ } )
103+
98104 it ( 'handles no tags in GitHub' , async ( ) => {
99105 const finder = sinon . stub ( ) . callsFake ( ( ) => null )
100106 const extractor = extract ( { } , finder )
You can’t perform that action at this time.
0 commit comments