Tests a library's code or a specific update without permanently creating it. The behaviour depends on the arguments:
If only
js_codeis provided, tests that code as a new library.If
libraryand optionallyupdatenameare given, tests the existing library's code (or a specific update).
Arguments
- conn
A connection object created by
mc_connect.- library
Optional character string. Library name or transaction ID.
- updatename
Optional character string. Update name (if testing an update).
- js_code
Optional character string. JavaScript code (if testing a new library).