mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 20:54:43 +00:00
test blocks need at least a single assertion
This commit is contained in:
@@ -74,6 +74,7 @@
|
|||||||
const ctx = element.getContext("2d");
|
const ctx = element.getContext("2d");
|
||||||
|
|
||||||
const imageData = ctx.createImageData(10, 10);
|
const imageData = ctx.createImageData(10, 10);
|
||||||
|
testing.expectEqual(true, imageData instanceof ImageData);
|
||||||
// Modify some pixel data.
|
// Modify some pixel data.
|
||||||
imageData.data[0] = 255;
|
imageData.data[0] = 255;
|
||||||
imageData.data[1] = 0;
|
imageData.data[1] = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user