xref: /aosp_15_r20/external/skia/modules/canvaskit/catchExceptionNop.js (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1// When running the jasmine tests in google3, this can be a nop because catching
2// logs is handled already by the testing framework.
3// original here http://shortn/_HeVXSB2tRh
4function catchException(done, fn) {
5    return fn;
6}
7
8// This function would normally upload results to gold, but we don't do that
9// when running the test in google3. If necessary, the test could have scuba
10// turned on to serve that purpose.
11function reportSurface(foo, bar, done) {
12  done();
13}
14