@@ -27,27 +27,27 @@ const tests = (common) => {
2727 let ipfs
2828
2929 function fixture ( path ) {
30- return loadFixture ( __dirname , path , 'interface-ipfs-core' )
30+ return loadFixture ( path , 'interface-ipfs-core' )
3131 }
3232
3333 const smallFile = {
3434 cid : 'Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP' ,
35- data : fixture ( '.. /test/fixtures/testfile.txt' )
35+ data : fixture ( 'js /test/fixtures/testfile.txt' )
3636 }
3737 const bigFile = {
3838 cid : 'Qme79tX2bViL26vNjPsF3DP1R9rMKMvnPYJiKTTKPrXJjq' ,
39- data : fixture ( '.. /test/fixtures/15mb.random' )
39+ data : fixture ( 'js /test/fixtures/15mb.random' )
4040 }
4141
4242 const directory = {
4343 cid : 'QmVvjDy7yF7hdnqE8Hrf4MHo5ABDtb5AbX6hWbD3Y42bXP' ,
4444 files : {
45- 'pp.txt' : fixture ( '.. /test/fixtures/test-folder/pp.txt' ) ,
46- 'holmes.txt' : fixture ( '.. /test/fixtures/test-folder/holmes.txt' ) ,
47- 'jungle.txt' : fixture ( '.. /test/fixtures/test-folder/jungle.txt' ) ,
48- 'alice.txt' : fixture ( '.. /test/fixtures/test-folder/alice.txt' ) ,
49- 'files/hello.txt' : fixture ( '.. /test/fixtures/test-folder/files/hello.txt' ) ,
50- 'files/ipfs.txt' : fixture ( '.. /test/fixtures/test-folder/files/ipfs.txt' )
45+ 'pp.txt' : fixture ( 'js /test/fixtures/test-folder/pp.txt' ) ,
46+ 'holmes.txt' : fixture ( 'js /test/fixtures/test-folder/holmes.txt' ) ,
47+ 'jungle.txt' : fixture ( 'js /test/fixtures/test-folder/jungle.txt' ) ,
48+ 'alice.txt' : fixture ( 'js /test/fixtures/test-folder/alice.txt' ) ,
49+ 'files/hello.txt' : fixture ( 'js /test/fixtures/test-folder/files/hello.txt' ) ,
50+ 'files/ipfs.txt' : fixture ( 'js /test/fixtures/test-folder/files/ipfs.txt' )
5151 }
5252 }
5353
@@ -68,7 +68,7 @@ const tests = (common) => {
6868
6969 after ( ( done ) => common . teardown ( done ) )
7070
71- describe ( '.add' , ( ) => {
71+ describe . only ( '.add' , ( ) => {
7272 it ( 'a Buffer' , ( done ) => {
7373 ipfs . files . add ( smallFile . data , ( err , filesAdded ) => {
7474 expect ( err ) . to . not . exist ( )
0 commit comments