Skip to content

Commit 7fa2886

Browse files
committed
test bug fix to ensure clean records
1 parent af2a362 commit 7fa2886

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/HotTestCases.test.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe("HotTestCases", function() {
3030
var testDirectory = path.join(casesPath, category.name, testName);
3131
var outputDirectory = path.join(__dirname, "js", "hot-cases", category.name, testName);
3232
var recordsPath = path.join(outputDirectory, "records.json");
33-
if(fs.exists(recordsPath))
33+
if(fs.existsSync(recordsPath))
3434
fs.unlinkSync(recordsPath);
3535
var options = {
3636
context: testDirectory,

0 commit comments

Comments
 (0)