We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5fb49f commit fb2c83aCopy full SHA for fb2c83a
workspaces/arborist/test/arborist/reify.js
@@ -15,15 +15,13 @@ let failMkdir = null
15
const fspMock = {
16
...fsp,
17
mkdir: async (...args) => {
18
- fs.appendFileSync('reggi-log.txt', 'fspNodeMock.mkdir\n')
19
if (failMkdir) {
20
throw failMkdir
21
}
22
23
return fsp.mkdir(...args)
24
},
25
rename: async (...args) => {
26
- fs.appendFileSync('reggi-log.txt', 'fspNodeMock.rename\n')
27
if (failRename) {
28
throw failRename
29
} else if (failRenameOnce) {
@@ -35,7 +33,6 @@ const fspMock = {
35
33
36
34
37
rm: async (...args) => {
38
- fs.appendFileSync('reggi-log.txt', 'fspNodeMock.rm\n')
39
if (failRm) {
40
throw new Error('rm fail')
41
0 commit comments