We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f88065 commit c6265d9Copy full SHA for c6265d9
utils/testUtils.js
@@ -26,7 +26,7 @@ function createTempFileWith(content, filename, extension) {
26
fs.writeSync(info.fd, content);
27
fs.closeSync(info.fd);
28
if (filename) {
29
- filePath = renameFileTo(info.name, filename, extension);
+ filePath = renameFileTo(filePath, filename, extension);
30
}
31
return filePath;
32
0 commit comments