skia2/modules
Kevin Lubick cc8a76f3c7 [canvaskit] Add gm helper functions to tests.
Note to the reviewer: Look at tests/util.js first and then
look at the others. Gerrit lets you ignore whitespace changes,
which I would recommend for this.

This emulates tests on the C++ side and dramatically reduces
boilerplate on the test code.

This also uses the beforeEach(async () => {}) trick to save
a lot of promise resolutions before each tests.

I try to clean up the style a bit as I go, seriously thinking
about adding eslint for at least the tests.

Change-Id: Iced4abb57f66572035ab5d1a54b374055e8aaa58
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/281439
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
2020-04-03 19:12:02 +00:00
..
canvaskit [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
particles Switch back to stack-based SkSL interpreter 2020-04-03 17:20:04 +00:00
pathkit Fix wasm builds 2020-01-28 19:03:49 +00:00
skottie [skottie] Cleanup pass 2020-04-02 17:23:28 +00:00
skparagraph harmonize rewrite-includes and gn-format checks 2020-04-03 17:00:54 +00:00
skplaintexteditor reformat GN files 2020-04-01 23:23:03 +00:00
skresources reformat GN files 2020-04-01 23:23:03 +00:00
sksg reformat GN files 2020-04-01 23:23:03 +00:00
skshaper harmonize rewrite-includes and gn-format checks 2020-04-03 17:00:54 +00:00