cc8a76f3c7
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> |
||
---|---|---|
.. | ||
assets | ||
canvas2d.spec.js | ||
canvas.spec.js | ||
canvaskitinit.js | ||
core.spec.js | ||
font.spec.js | ||
matrix.spec.js | ||
paragraph.spec.js | ||
path.spec.js | ||
rtshader.spec.js | ||
skottie.spec.js | ||
util.js |