Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it so that we can console.log in browser to debug gentest #1718

Closed
wants to merge 1 commit into from

Commits on Oct 9, 2024

  1. Make it so that we can console.log in browser to debug gentest (faceb…

    …ook#1718)
    
    Summary:
    
    Our gentest works by console.logging the contents of the test it is generating to the browser powered by the driver. The driver then reads the logs and writes it to a file. An unfortunate side effect here is that we cannot console.log to debug how the gentest logic actually works since the driver is expecting formatted code. To get around this I had the driver filter out logs with a certain prefix and add that a helper that logs a message with this prefix to the scripts.
    
    Reviewed By: NickGerleman
    
    Differential Revision: D64011035
    joevilches authored and facebook-github-bot committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    7542e52 View commit details
    Browse the repository at this point in the history