diff --git a/test/test.js b/test/test.js index 1c3160b3f..1f8ad7b8a 100644 --- a/test/test.js +++ b/test/test.js @@ -419,6 +419,12 @@ function checkRefTestResults(browser, id, results) { default: throw new Error('Unknown test type'); } + // clear memory + results.forEach(function (roundResults, round) { + roundResults.forEach(function (pageResult, page) { + pageResult.snapshot = null; + }); + }); } function refTestPostHandler(req, res) {