@@ -8,7 +8,7 @@ const __filename = url.fileURLToPath(import.meta.url);
88const __dirname = path . dirname ( __filename ) ;
99
1010describe ( 'CLI exec with no option should complete' , ( ) => {
11- const fixtureDir = path . resolve ( __dirname , "../__tests__ /fixtures/" )
11+ const fixtureDir = path . resolve ( __dirname , "../tests /fixtures/" )
1212 for ( const file of fs . readdirSync ( fixtureDir ) ) {
1313 test ( file , ( _t , done ) => {
1414 exec ( "node ./dist/esm/cli.js " + path . join ( fixtureDir , file ) , ( error , _stdout , _stderr ) => {
@@ -20,7 +20,7 @@ describe('CLI exec with no option should complete', () => {
2020} ) ;
2121
2222test ( 'CLI exec with --filter-tags' , ( _t , done ) => {
23- exec ( "node ./dist/esm/cli.js --filter-tags system-out __tests__ /fixtures/android-robolectric-success.xml" , ( _error , stdout , _stderr ) => {
23+ exec ( "node ./dist/esm/cli.js --filter-tags system-out tests /fixtures/android-robolectric-success.xml" , ( _error , stdout , _stderr ) => {
2424 const output = JSON . parse ( stdout )
2525 assert . ok ( ! output [ "system-out" ] , "system-out should not be present" )
2626 assert . ok ( output [ "system-err" ] , "system-err should be present" )
0 commit comments