Make it so that we can console.log in browser to debug gentest #1718
Reference in New Issue
Block a user
No description provided.
Delete Branch "export-D64011035"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Differential Revision: D64011035
The latest updates on your projects. Learn more about Vercel for Git ↗︎
This pull request was exported from Phabricator. Differential Revision: D64011035
This pull request was exported from Phabricator. Differential Revision: D64011035
This pull request has been merged in facebook/yoga@ef9ae63268.
Pull request closed