@@ -4,10 +4,6 @@ import { join, resolve } from 'path';
44import test , { before } from 'ava' ;
55
66before ( ( ) => {
7- if ( process . env . CI ) {
8- return ;
9- }
10-
117 const filesToDelete = [
128 resolve ( __dirname , 'basic' , 'test.pdf' ) ,
139 resolve ( __dirname , 'nested' , 'root.pdf' ) ,
@@ -24,8 +20,6 @@ before(() => {
2420 }
2521 }
2622 }
27-
28- console . log ( 'all compiled test pdfs have been deleted' ) ;
2923} ) ;
3024
3125test ( 'should compile the basic example to pdf using --basedir' , async t => {
@@ -37,7 +31,6 @@ test('should compile the basic example to pdf using --basedir', async t => {
3731 resolve ( __dirname , 'basic' ) ,
3832 ] . join ( ' ' ) ;
3933
40- t . timeout ( 60000 ) ;
4134 t . notThrows ( ( ) => execSync ( cmd ) ) ;
4235
4336 t . notThrows ( ( ) => readFileSync ( resolve ( __dirname , 'basic' , 'test.pdf' ) , 'utf-8' ) ) ;
@@ -52,7 +45,6 @@ test('should compile the nested example to pdfs', t => {
5245 join ( 'level-one' , 'level-two' , 'two.md' ) ,
5346 ] . join ( ' ' ) ;
5447
55- t . timeout ( 60000 ) ;
5648 t . notThrows ( ( ) => execSync ( cmd , { cwd : resolve ( __dirname , 'nested' ) } ) ) ;
5749
5850 t . notThrows ( ( ) => readFileSync ( resolve ( __dirname , 'nested' , 'root.pdf' ) , 'utf-8' ) ) ;
0 commit comments