@@ -67,7 +67,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
67
67
} ) ;
68
68
describe ( 'concurrent inode creation' , ( ) => {
69
69
test ( 'EncryptedFS.open, EncryptedFS.mknod and EncryptedFS.mkdir' , async ( ) => {
70
- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
70
+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
71
71
72
72
await fc . assert (
73
73
fc
@@ -417,7 +417,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
417
417
) ;
418
418
} ) ;
419
419
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' ) ;
421
421
await fc . assert (
422
422
fc
423
423
. asyncProperty ( fc . scheduler ( ) , async ( s ) => {
@@ -760,7 +760,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
760
760
}
761
761
} ) ;
762
762
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' ) ;
764
764
const phrase = 'The quick brown fox jumped over the lazy dog' ;
765
765
const phraseSplit = phrase . split ( ' ' ) ;
766
766
await fc . assert (
@@ -1113,7 +1113,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
1113
1113
}
1114
1114
} ) ;
1115
1115
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' ) ;
1117
1117
const phrase = 'The quick brown fox jumped over the lazy dog' ;
1118
1118
const phraseSplit = phrase . split ( ' ' ) ;
1119
1119
await fc . assert (
@@ -1466,7 +1466,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
1466
1466
}
1467
1467
} ) ;
1468
1468
test ( 'EncryptedFS.utimes, EncryptedFS.futimes and EncryptedFS.writeFile' , async ( ) => {
1469
- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
1469
+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
1470
1470
await fc . assert (
1471
1471
fc
1472
1472
. asyncProperty ( fc . scheduler ( ) , async ( s ) => {
@@ -1647,7 +1647,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
1647
1647
}
1648
1648
} ) ;
1649
1649
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' ) ;
1651
1651
await fc . assert (
1652
1652
fc
1653
1653
. asyncProperty ( fc . scheduler ( ) , async ( s ) => {
@@ -2031,7 +2031,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
2031
2031
}
2032
2032
} ) ;
2033
2033
test ( 'EncryptedFS.createReadStream, EncryptedFS.createWriteStream, EncryptedFS.write, EncryptedFS.read' , async ( ) => {
2034
- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
2034
+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
2035
2035
const dataA = 'AAAAA' ;
2036
2036
const dataB = 'BBBBB' . repeat ( 5 ) ;
2037
2037
await fc . assert (
@@ -2584,7 +2584,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
2584
2584
}
2585
2585
} ) ;
2586
2586
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' ) ;
2588
2588
const dataA = 'AAAAA' ;
2589
2589
const dataB = 'BBBBB' . repeat ( 5 ) ;
2590
2590
await fc . assert (
@@ -2866,7 +2866,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
2866
2866
}
2867
2867
} ) ;
2868
2868
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' ) ;
2870
2870
const dataA = 'A' . repeat ( 10 ) ;
2871
2871
const dataB = 'B' . repeat ( 10 ) ;
2872
2872
await fc . assert (
@@ -3219,7 +3219,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
3219
3219
}
3220
3220
} ) ;
3221
3221
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' ) ;
3223
3223
const path2 = utils . pathJoin ( 'dir' , 'file2' ) ;
3224
3224
const dataA = 'A' . repeat ( 10 ) ;
3225
3225
const dataB = 'B' . repeat ( 10 ) ;
@@ -3568,7 +3568,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
3568
3568
expect ( stat . size ) . toBeLessThanOrEqual ( 50 ) ;
3569
3569
} ) ;
3570
3570
test ( 'EncryptedFS.readFile and EncryptedFS.writeFile' , async ( ) => {
3571
- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
3571
+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
3572
3572
const dataA = 'AAAAA' ;
3573
3573
const dataB = 'BBBBB' ;
3574
3574
await fc . assert (
@@ -3616,7 +3616,7 @@ describe(`${EncryptedFS.name} Concurrency`, () => {
3616
3616
) ;
3617
3617
} ) ;
3618
3618
test ( 'EncryptedFS.read and EncryptedFS.write' , async ( ) => {
3619
- const path1 = pathNode . join ( 'dir' , 'file1' ) ;
3619
+ const path1 = utils . pathJoin ( 'dir' , 'file1' ) ;
3620
3620
const dataA = 'AAAAA' ;
3621
3621
const dataB = 'BBBBB' ;
3622
3622
await fc . assert (
0 commit comments