test blocks need at least a single assertion

This commit is contained in:
Halil Durak
2026-02-17 16:43:26 +03:00
parent 16318bb9f6
commit 1023b2ca9c

View File

@@ -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;