function outputResult(result, testResultFilename) {
    fs.writeFileSync(testResultFilename, `export default ${tester.getAstCode(result)};`);
}
Write the parse result to the result file (`<test-name>.result.js`).
@param {Object} result The parse result to write.
@param {string} testResultFilename The path to the result file.
@returns {void}