@@ -67,7 +67,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
6767 } ) ;
6868 describe ( 'concurrent inode creation' , ( ) => {
6969 test ( 'EncryptedFS.open, EncryptedFS.mknod and EncryptedFS.mkdir' , async ( ) => {
70- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
70+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
7171
7272 await fc . assert (
7373 fc
@@ -417,7 +417,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
417417 ) ;
418418 } ) ;
419419 test ( 'EncryptedFS.fallocate, EncryptedFS.writeFile, EncryptedFS.write and EncryptedFS.createWriteStream ' , async ( ) => {
420- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
420+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
421421 await fc . assert (
422422 fc
423423 . asyncProperty ( fc . scheduler ( ) , async ( s ) => {
@@ -760,7 +760,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
760760 }
761761 } ) ;
762762 test ( 'EncryptedFS.truncate and EncryptedFS.writeFile, EncryptedFS.write and EncryptedFS.createWriteStream' , async ( ) => {
763- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
763+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
764764 const phrase = 'The quick brown fox jumped over the lazy dog' ;
765765 const phraseSplit = phrase . split ( ' ' ) ;
766766 await fc . assert (
@@ -1113,7 +1113,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
11131113 }
11141114 } ) ;
11151115 test ( 'EncryptedFS.ftruncate and EncryptedFS.writeFile, EncryptedFS.write and EncryptedFS.createWriteStream' , async ( ) => {
1116- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
1116+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
11171117 const phrase = 'The quick brown fox jumped over the lazy dog' ;
11181118 const phraseSplit = phrase . split ( ' ' ) ;
11191119 await fc . assert (
@@ -1466,7 +1466,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
14661466 }
14671467 } ) ;
14681468 test ( 'EncryptedFS.utimes, EncryptedFS.futimes and EncryptedFS.writeFile' , async ( ) => {
1469- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
1469+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
14701470 await fc . assert (
14711471 fc
14721472 . asyncProperty ( fc . scheduler ( ) , async ( s ) => {
@@ -1647,7 +1647,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
16471647 }
16481648 } ) ;
16491649 test ( 'EncryptedFS.lseek, EncryptedFS.writeFile, EncryptedFS.writeFile with fd, EncryptedFS.write, EncryptedFS.readFile, EncryptedFS.read, and seeking position' , async ( ) => {
1650- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
1650+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
16511651 await fc . assert (
16521652 fc
16531653 . asyncProperty ( fc . scheduler ( ) , async ( s ) => {
@@ -2031,7 +2031,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
20312031 }
20322032 } ) ;
20332033 test ( 'EncryptedFS.createReadStream, EncryptedFS.createWriteStream, EncryptedFS.write, EncryptedFS.read' , async ( ) => {
2034- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
2034+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
20352035 const dataA = 'AAAAA' ;
20362036 const dataB = 'BBBBB' . repeat ( 5 ) ;
20372037 await fc . assert (
@@ -2584,7 +2584,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
25842584 }
25852585 } ) ;
25862586 test ( 'EncryptedFS.unlink, EncryptedFS.writeFile, EncryptedFS.open, EncryptedFS.write and EncryptedFS.createWriteStream' , async ( ) => {
2587- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
2587+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
25882588 const dataA = 'AAAAA' ;
25892589 const dataB = 'BBBBB' . repeat ( 5 ) ;
25902590 await fc . assert (
@@ -2866,7 +2866,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
28662866 }
28672867 } ) ;
28682868 test ( 'EncryptedFS.appendFIle, EncryptedFS.writeFile, EncryptedFS.writeFile with fd, EncryptedFS.write, EncryptedFS.createReadStream' , async ( ) => {
2869- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
2869+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
28702870 const dataA = 'A' . repeat ( 10 ) ;
28712871 const dataB = 'B' . repeat ( 10 ) ;
28722872 await fc . assert (
@@ -3219,7 +3219,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
32193219 }
32203220 } ) ;
32213221 test ( 'EncryptedFS.copyFile, EncryptedFS.writeFile, EncryptedFS.writeFile with fd, EncryptedFS.write and EncryptedFS.createWriteStream' , async ( ) => {
3222- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
3222+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
32233223 const path2 = utils . pathJoin ( 'dir' , 'file2' ) ;
32243224 const dataA = 'A' . repeat ( 10 ) ;
32253225 const dataB = 'B' . repeat ( 10 ) ;
@@ -3568,7 +3568,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
35683568 expect ( stat . size ) . toBeLessThanOrEqual ( 50 ) ;
35693569 } ) ;
35703570 test ( 'EncryptedFS.readFile and EncryptedFS.writeFile' , async ( ) => {
3571- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
3571+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
35723572 const dataA = 'AAAAA' ;
35733573 const dataB = 'BBBBB' ;
35743574 await fc . assert (
@@ -3616,7 +3616,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
36163616 ) ;
36173617 } ) ;
36183618 test ( 'EncryptedFS.read and EncryptedFS.write' , async ( ) => {
3619- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
3619+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
36203620 const dataA = 'AAAAA' ;
36213621 const dataB = 'BBBBB' ;
36223622 await fc . assert (
0 commit comments