skia2/modules/canvaskit/tests
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
..
assets [canvaskit] Fix support for fonts with CFF 2020-01-29 12:39:55 +00:00
canvas2d.spec.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
canvas.spec.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
canvaskitinit.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
core.spec.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
font.spec.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
matrix.spec.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
paragraph.spec.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
path.spec.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
rtshader.spec.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
skottie.spec.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00
util.js [canvaskit] Add gm helper functions to tests. 2020-04-03 19:12:02 +00:00