@@ -20,7 +20,7 @@ describe('acc-transformer transform NUTs', () => {
20
20
const testXmlPath3 = resolve ( 'coverage3.xml' ) ;
21
21
22
22
const configFile = {
23
- packageDirectories : [ { path : 'test/baselines ' , default : true } ] ,
23
+ packageDirectories : [ { path : 'force-app ' , default : true } , { path : 'packaged' } ] ,
24
24
namespace : '' ,
25
25
sfdcLoginUrl : 'https://login.salesforce.com' ,
26
26
sourceApiVersion : '58.0' ,
@@ -50,21 +50,21 @@ describe('acc-transformer transform NUTs', () => {
50
50
51
51
it ( 'runs transform on the deploy coverage file without file extensions.' , async ( ) => {
52
52
const command = `acc-transformer transform --coverage-json "${ deployCoverageNoExts } " --xml "${ testXmlPath1 } "` ;
53
- const output = execCmd ( command , { ensureExitCode : 0 , cli : 'sf' } ) . shellOutput . stdout ;
53
+ const output = execCmd ( command , { ensureExitCode : 0 } ) . shellOutput . stdout ;
54
54
55
55
expect ( output . replace ( '\n' , '' ) ) . to . equal ( `The coverage XML has been written to ${ testXmlPath1 } ` ) ;
56
56
} ) ;
57
57
58
58
it ( 'runs transform on the deploy coverage file with file extensions.' , async ( ) => {
59
59
const command = `acc-transformer transform --coverage-json "${ deployCoverageWithExts } " --xml "${ testXmlPath2 } "` ;
60
- const output = execCmd ( command , { ensureExitCode : 0 , cli : 'sf' } ) . shellOutput . stdout ;
60
+ const output = execCmd ( command , { ensureExitCode : 0 } ) . shellOutput . stdout ;
61
61
62
62
expect ( output . replace ( '\n' , '' ) ) . to . equal ( `The coverage XML has been written to ${ testXmlPath2 } ` ) ;
63
63
} ) ;
64
64
65
65
it ( 'runs transform on the test coverage file.' , async ( ) => {
66
66
const command = `acc-transformer transform --coverage-json "${ testCoverage } " --xml "${ testXmlPath3 } "` ;
67
- const output = execCmd ( command , { ensureExitCode : 0 , cli : 'sf' } ) . shellOutput . stdout ;
67
+ const output = execCmd ( command , { ensureExitCode : 0 } ) . shellOutput . stdout ;
68
68
69
69
expect ( output . replace ( '\n' , '' ) ) . to . equal ( `The coverage XML has been written to ${ testXmlPath3 } ` ) ;
70
70
} ) ;
0 commit comments