Commit 2370cd3f authored by yann300's avatar yann300

fix tests

parent 59417d69
...@@ -309,7 +309,10 @@ var run = function () { ...@@ -309,7 +309,10 @@ var run = function () {
} }
function switchToNextFile () { function switchToNextFile () {
switchToFile(Object.keys(files.list())[0]) var fileList = Object.keys(files.list())
if (fileList.length) {
switchToFile(fileList[0])
}
} }
switchToNextFile() switchToNextFile()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment